material-maker/material_maker/widgets/node_editor/parameter_boolean.gd

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