1
- [gd_scene load_steps =9 format =3 uid ="uid://cjvxs6euc6xbm" ]
1
+ [gd_scene load_steps =10 format =3 uid ="uid://cjvxs6euc6xbm" ]
2
2
3
3
[ext_resource type ="Script" path ="res://addons/block_code/ui/blocks/utilities/parameter_input/parameter_input.gd" id ="1_rgmxn" ]
4
4
[ext_resource type ="PackedScene" uid ="uid://b1oge52xhjqnu" path ="res://addons/block_code/ui/blocks/utilities/snap_point/snap_point.tscn" id ="2_6esp3" ]
@@ -20,6 +20,8 @@ corner_radius_bottom_left = 40
20
20
21
21
[sub_resource type ="StyleBoxEmpty" id ="StyleBoxEmpty_fjquj" ]
22
22
23
+ [sub_resource type ="StyleBoxEmpty" id ="StyleBoxEmpty_e7f0k" ]
24
+
23
25
[node name ="ParameterInput" type ="MarginContainer" ]
24
26
anchors_preset = 15
25
27
anchor_right = 1.0
@@ -152,6 +154,26 @@ expand_to_text_length = true
152
154
layout_mode = 2
153
155
size_flags_horizontal = 3
154
156
157
+ [node name ="BoolInput" type ="MarginContainer" parent ="InputSwitcher" ]
158
+ unique_name_in_owner = true
159
+ layout_mode = 2
160
+ theme_override_constants/margin_left = 8
161
+
162
+ [node name ="BoolInputOption" type ="OptionButton" parent ="InputSwitcher/BoolInput" ]
163
+ unique_name_in_owner = true
164
+ custom_minimum_size = Vector2 (60 , 0 )
165
+ layout_mode = 2
166
+ theme_override_colors/font_color = Color (0 , 0 , 0 , 1 )
167
+ theme_override_colors/font_focus_color = Color (0 , 0 , 0 , 1 )
168
+ theme_override_styles/focus = SubResource ("StyleBoxEmpty_e7f0k" )
169
+ theme_override_styles/normal = SubResource ("StyleBoxEmpty_fjquj" )
170
+ item_count = 2
171
+ selected = 0
172
+ popup/item_0/text = "False"
173
+ popup/item_0/id = 0
174
+ popup/item_1/text = "True"
175
+ popup/item_1/id = 1
176
+
155
177
[node name ="SnapPoint" parent ="." instance =ExtResource ("2_6esp3" )]
156
178
unique_name_in_owner = true
157
179
layout_mode = 2
@@ -164,3 +186,4 @@ variant_type = 4
164
186
[connection signal ="item_selected" from ="InputSwitcher/OptionInput" to ="." method ="_on_option_input_item_selected" ]
165
187
[connection signal ="text_changed" from ="InputSwitcher/Vector2Input/HBoxContainer/XLineEdit" to ="." method ="_on_line_edit_text_changed" ]
166
188
[connection signal ="text_changed" from ="InputSwitcher/Vector2Input/HBoxContainer/YLineEdit" to ="." method ="_on_line_edit_text_changed" ]
189
+ [connection signal ="item_selected" from ="InputSwitcher/BoolInput/BoolInputOption" to ="." method ="_on_option_input_item_selected" ]
0 commit comments