material-maker/addons/material_maker/widgets/linked_widgets/linked_control_buttons.gd
RodZill4 cb03131b85 Added control link check and editable labels
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.
2018-09-10 08:00:03 +02:00

11 lines
142 B
GDScript

tool
extends HBoxContainer
var control = null
func _on_Link_pressed():
control.pick_linked()
func _on_Remove_pressed():
control.delete()