mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
78bb4551a8
Also added default value to float, boolean and enum parameters
14 lines
220 B
GDScript
14 lines
220 B
GDScript
tool
|
|
extends HBoxContainer
|
|
|
|
func _ready():
|
|
pass
|
|
|
|
func get_model_data():
|
|
var data = {}
|
|
data.default = $Default.pressed
|
|
return data
|
|
|
|
func set_model_data(data):
|
|
if data.has("default"):
|
|
$Default.pressed = data.default |