mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +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.
28 lines
650 B
Plaintext
28 lines
650 B
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://addons/material_maker/widgets/linked_widgets/editable_label.gd" type="Script" id=1]
|
|
|
|
[node name="Label" type="Label"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_right = 40.0
|
|
margin_bottom = 14.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
script = ExtResource( 1 )
|
|
_sections_unfolded = [ "Mouse" ]
|
|
|
|
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
|
|
|
|
|