1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
[gd_scene load_steps=4 format=2] [ext_resource path="res://ui/main.tres" type="Theme" id=1] [ext_resource path="res://ui/ColorPickerButton.gd" type="Script" id=2] [ext_resource path="res://ui/ColorPicker.tscn" type="PackedScene" id=3] [node name="ColorPickerButton" type="Button"] margin_right = 232.0 margin_bottom = 106.0 focus_mode = 0 theme = ExtResource( 1 ) enabled_focus_mode = 0 text = "button" script = ExtResource( 2 ) [node name="ColorPicker" parent="." instance=ExtResource( 3 )] visible = false margin_left = 92.0 margin_top = 58.0 margin_right = 294.0 margin_bottom = 234.0 [node name="Position" type="Control" parent="."] margin_left = 80.0 margin_top = 46.0 margin_right = 120.0 margin_bottom = 86.0 [connection signal="pressed" from="." to="." method="_on_pressed"] [connection signal="done" from="ColorPicker" to="." method="_on_ColorPicker_done"]