|
| 1 | +[gd_scene load_steps=2 format=3 uid="uid://cmg6es5cad8u2"] |
| 2 | + |
| 3 | +[ext_resource type="Script" path="res://Examples/SGD/mimicker.gd" id="1_c78eo"] |
| 4 | + |
| 5 | +[node name="Mimicker" type="Control"] |
| 6 | +layout_mode = 3 |
| 7 | +anchors_preset = 15 |
| 8 | +anchor_right = 1.0 |
| 9 | +anchor_bottom = 1.0 |
| 10 | +grow_horizontal = 2 |
| 11 | +grow_vertical = 2 |
| 12 | +script = ExtResource("1_c78eo") |
| 13 | + |
| 14 | +[node name="HBoxContainer" type="HBoxContainer" parent="."] |
| 15 | +layout_mode = 2 |
| 16 | +offset_right = 1152.0 |
| 17 | +offset_bottom = 648.0 |
| 18 | +size_flags_vertical = 3 |
| 19 | + |
| 20 | +[node name="Inputs" type="VBoxContainer" parent="HBoxContainer"] |
| 21 | +unique_name_in_owner = true |
| 22 | +layout_mode = 2 |
| 23 | +size_flags_horizontal = 3 |
| 24 | +alignment = 1 |
| 25 | + |
| 26 | +[node name="Input1" type="CheckBox" parent="HBoxContainer/Inputs"] |
| 27 | +unique_name_in_owner = true |
| 28 | +layout_mode = 2 |
| 29 | +size_flags_horizontal = 4 |
| 30 | +text = "Human Input 1" |
| 31 | + |
| 32 | +[node name="Input2" type="CheckBox" parent="HBoxContainer/Inputs"] |
| 33 | +unique_name_in_owner = true |
| 34 | +layout_mode = 2 |
| 35 | +size_flags_horizontal = 4 |
| 36 | +text = "Human Input 2" |
| 37 | + |
| 38 | +[node name="Input3" type="CheckBox" parent="HBoxContainer/Inputs"] |
| 39 | +unique_name_in_owner = true |
| 40 | +layout_mode = 2 |
| 41 | +size_flags_horizontal = 4 |
| 42 | +text = "Human Input 3" |
| 43 | + |
| 44 | +[node name="Input4" type="CheckBox" parent="HBoxContainer/Inputs"] |
| 45 | +unique_name_in_owner = true |
| 46 | +layout_mode = 2 |
| 47 | +size_flags_horizontal = 4 |
| 48 | +text = "Human Input 4" |
| 49 | + |
| 50 | +[node name="Input5" type="CheckBox" parent="HBoxContainer/Inputs"] |
| 51 | +unique_name_in_owner = true |
| 52 | +layout_mode = 2 |
| 53 | +size_flags_horizontal = 4 |
| 54 | +text = "Human Input 5" |
| 55 | + |
| 56 | +[node name="visual" type="AspectRatioContainer" parent="HBoxContainer"] |
| 57 | +layout_mode = 2 |
| 58 | +size_flags_horizontal = 3 |
| 59 | + |
| 60 | +[node name="Outputs" type="VBoxContainer" parent="HBoxContainer"] |
| 61 | +unique_name_in_owner = true |
| 62 | +layout_mode = 2 |
| 63 | +size_flags_horizontal = 3 |
| 64 | +alignment = 1 |
| 65 | + |
| 66 | +[node name="CheckButton" type="CheckButton" parent="HBoxContainer/Outputs"] |
| 67 | +layout_mode = 2 |
| 68 | +size_flags_horizontal = 4 |
| 69 | +disabled = true |
| 70 | +text = "AI Output 1" |
| 71 | + |
| 72 | +[node name="CheckButton2" type="CheckButton" parent="HBoxContainer/Outputs"] |
| 73 | +layout_mode = 2 |
| 74 | +size_flags_horizontal = 4 |
| 75 | +disabled = true |
| 76 | +text = "AI Output 2" |
| 77 | + |
| 78 | +[node name="CheckButton3" type="CheckButton" parent="HBoxContainer/Outputs"] |
| 79 | +layout_mode = 2 |
| 80 | +size_flags_horizontal = 4 |
| 81 | +disabled = true |
| 82 | +text = "AI Output 3" |
| 83 | + |
| 84 | +[node name="CheckButton4" type="CheckButton" parent="HBoxContainer/Outputs"] |
| 85 | +layout_mode = 2 |
| 86 | +size_flags_horizontal = 4 |
| 87 | +disabled = true |
| 88 | +text = "AI Output 4" |
| 89 | + |
| 90 | +[node name="CheckButton5" type="CheckButton" parent="HBoxContainer/Outputs"] |
| 91 | +layout_mode = 2 |
| 92 | +size_flags_horizontal = 4 |
| 93 | +disabled = true |
| 94 | +text = "AI Output 5" |
| 95 | + |
| 96 | +[connection signal="toggled" from="HBoxContainer/Inputs/Input1" to="." method="update"] |
| 97 | +[connection signal="toggled" from="HBoxContainer/Inputs/Input2" to="." method="update"] |
| 98 | +[connection signal="toggled" from="HBoxContainer/Inputs/Input3" to="." method="update"] |
| 99 | +[connection signal="toggled" from="HBoxContainer/Inputs/Input4" to="." method="update"] |
| 100 | +[connection signal="toggled" from="HBoxContainer/Inputs/Input5" to="." method="update"] |
0 commit comments