Files
airplane-mode/addons/godot_colyseus/demo/chat.tscn

49 lines
1.0 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=2 format=3 uid="uid://dpxco2ygtk2bx"]
[ext_resource type="Script" path="res://addons/godot_colyseus/demo/chat.gd" id="1"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1")
[node name="input" type="TextEdit" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 0.927
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -0.200012
offset_right = -110.0
[node name="send" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -104.0
offset_top = -42.0
offset_right = 1.0
offset_bottom = -4.0
grow_horizontal = 0
grow_vertical = 0
text = "Send"
[node name="label" type="Label" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -2.0
offset_bottom = -54.0
grow_horizontal = 2
grow_vertical = 2
[connection signal="pressed" from="send" to="." method="_on_send_pressed"]