mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-27 23:17:14 +01:00
93c84650cd
This also simplifies some functions. This partially addresses #30.
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
|