示例#1
0
 public void SetAddressBox(Godot.TextEdit box)
 {
     if (addressBox != null)
     {
         addressBox.QueueFree();
     }
     addressBox = box;
     AddChild(box);
 }
示例#2
0
 public void SetNameBox(Godot.TextEdit box)
 {
     if (nameBox != null)
     {
         nameBox.QueueFree();
     }
     nameBox = box;
     AddChild(box);
 }
示例#3
0
 public void SetComposeBox(Godot.TextEdit box)
 {
     if (composeBox != null)
     {
         composeBox.QueueFree();
     }
     composeBox = box;
     AddChild(box);
 }
示例#4
0
 public void SetMessageBox(Godot.TextEdit box)
 {
     if (messageBox != null)
     {
         messageBox.QueueFree();
     }
     messageBox = box;
     box.SetReadonly(true);
     AddChild(box);
 }
示例#5
0
 public void SetPlayersBox(Godot.TextEdit box)
 {
     if (playersBox != null)
     {
         playersBox.QueueFree();
     }
     addressBox = box;
     if (box != null)
     {
         AddChild(box);
     }
 }