mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
cb03131b85
Now linking new controls to a linked_control will check compatibility (same control type and parameters). Linked control labels are now editable. Modified the Switch node layout so it is easier to understand. Updated the bricks example to use the switch and remote nodes.
11 lines
142 B
GDScript
11 lines
142 B
GDScript
tool
|
|
extends HBoxContainer
|
|
|
|
var control = null
|
|
|
|
func _on_Link_pressed():
|
|
control.pick_linked()
|
|
|
|
func _on_Remove_pressed():
|
|
control.delete()
|