mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
12 lines
203 B
GDScript
12 lines
203 B
GDScript
tool
|
|
extends HBoxContainer
|
|
|
|
func get_model_data() -> Dictionary:
|
|
return {
|
|
default = $Default.pressed,
|
|
}
|
|
|
|
func set_model_data(data) -> void:
|
|
if data.has("default"):
|
|
$Default.pressed = data.default
|