1- [gd_scene load_steps =9 format =3 uid ="uid://cjvxs6euc6xbm" ]
1+ [gd_scene load_steps =10 format =3 uid ="uid://cjvxs6euc6xbm" ]
22
33[ext_resource type ="Script" path ="res://addons/block_code/ui/blocks/utilities/parameter_input/parameter_input.gd" id ="1_rgmxn" ]
44[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
2020
2121[sub_resource type ="StyleBoxEmpty" id ="StyleBoxEmpty_fjquj" ]
2222
23+ [sub_resource type ="StyleBoxEmpty" id ="StyleBoxEmpty_e7f0k" ]
24+
2325[node name ="ParameterInput" type ="MarginContainer" ]
2426anchors_preset = 15
2527anchor_right = 1.0
@@ -152,6 +154,26 @@ expand_to_text_length = true
152154layout_mode = 2
153155size_flags_horizontal = 3
154156
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+
155177[node name ="SnapPoint" parent ="." instance =ExtResource ("2_6esp3" )]
156178unique_name_in_owner = true
157179layout_mode = 2
@@ -164,3 +186,4 @@ variant_type = 4
164186[connection signal ="item_selected" from ="InputSwitcher/OptionInput" to ="." method ="_on_option_input_item_selected" ]
165187[connection signal ="text_changed" from ="InputSwitcher/Vector2Input/HBoxContainer/XLineEdit" to ="." method ="_on_line_edit_text_changed" ]
166188[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