42 lines
1.6 KiB
Plaintext
42 lines
1.6 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://Playground.gd" type="Script" id=1]
|
|
[ext_resource path="res://EntryControl.gd" type="Script" id=2]
|
|
|
|
[node name="Control" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="PlaygroundTabContainer" type="TabContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_right = 8.0
|
|
margin_bottom = 36.0
|
|
|
|
[node name="PlaygroundScrollContainer" type="ScrollContainer" parent="PlaygroundTabContainer"]
|
|
margin_right = -8.0
|
|
margin_bottom = -36.0
|
|
rect_min_size = Vector2( 1280, 720 )
|
|
|
|
[node name="Playground" type="Control" parent="PlaygroundTabContainer/PlaygroundScrollContainer"]
|
|
margin_right = 1280.0
|
|
margin_bottom = 720.0
|
|
rect_min_size = Vector2( 1280, 720 )
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="EntryContainer" type="PanelContainer" parent="PlaygroundTabContainer/PlaygroundScrollContainer/Playground"]
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|
|
mouse_filter = 1
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="EntryLabel" type="Label" parent="PlaygroundTabContainer/PlaygroundScrollContainer/Playground/EntryContainer"]
|
|
margin_left = 7.0
|
|
margin_top = 13.0
|
|
margin_right = 192.0
|
|
margin_bottom = 27.0
|
|
text = "Hello NAT Godot Playground!"
|
|
|
|
[connection signal="mouse_entered" from="PlaygroundTabContainer/PlaygroundScrollContainer/Playground/EntryContainer" to="PlaygroundTabContainer/PlaygroundScrollContainer/Playground/EntryContainer" method="_on_EntryControl_mouse_entered"]
|
|
[connection signal="mouse_exited" from="PlaygroundTabContainer/PlaygroundScrollContainer/Playground/EntryContainer" to="PlaygroundTabContainer/PlaygroundScrollContainer/Playground/EntryContainer" method="_on_EntryControl_mouse_exited"]
|