[gd_scene load_steps=2 format=2] [ext_resource path="res://ui/clientmenu/ClientUI.gd" type="Script" id=1] [node name="ClientUI" type="Node2D"] script = ExtResource( 1 ) [node name="IP" type="LineEdit" parent="."] margin_left = 16.0 margin_top = 64.0 margin_right = 112.0 margin_bottom = 88.0 text = "127.0.0.1" [node name="Port" type="SpinBox" parent="."] margin_left = 128.0 margin_top = 64.0 margin_right = 202.0 margin_bottom = 88.0 max_value = 65536.0 value = 25565.0 [node name="Name" type="LineEdit" parent="."] margin_left = 16.0 margin_top = 96.0 margin_right = 199.0 margin_bottom = 120.0 text = "PlayerName" max_length = 30 [node name="ConnectButton" type="Button" parent="."] margin_left = 16.0 margin_top = 128.0 margin_right = 202.0 margin_bottom = 153.0 text = "Connect" [node name="BackButton" type="Button" parent="."] margin_left = 16.0 margin_top = 16.0 margin_right = 80.0 margin_bottom = 36.0 text = "Back" [connection signal="pressed" from="ConnectButton" to="." method="_connect_btn"] [connection signal="pressed" from="BackButton" to="." method="back_to_main"]