2018-10-28 16:26:37 +01:00
|
|
|
tool
|
|
|
|
extends HBoxContainer
|
|
|
|
|
2019-10-20 16:22:06 +02:00
|
|
|
func get_model_data() -> Dictionary:
|
|
|
|
return {
|
|
|
|
default = $Default.pressed,
|
|
|
|
}
|
2018-10-28 16:26:37 +01:00
|
|
|
|
2019-10-20 16:22:06 +02:00
|
|
|
func set_model_data(data) -> void:
|
2018-10-28 17:06:42 +01:00
|
|
|
if data.has("default"):
|
2019-10-20 16:22:06 +02:00
|
|
|
$Default.pressed = data.default
|