Updated Popup UI and robot generation

This commit is contained in:
=
2026-04-28 16:00:55 +02:00
parent 83d9620e39
commit 5e4e325ec7
3 changed files with 18 additions and 9 deletions
+3 -3
View File
@@ -23,11 +23,11 @@ public partial class UIHandler : Control
public void ShowNamingPopup(Robot robot)
{
VBoxContainer namingContainer = GetNode<VBoxContainer>("./Popup/RobotNaming");
PanelContainer namingContainer = GetNode<PanelContainer>("../Popup/RobotNaming");
namingContainer.Visible = true;
GameData.canMove = false;
LineEdit name = namingContainer.GetNode<LineEdit>("./LineEdit");
Button button = namingContainer.GetNode<Button>("./Button");
LineEdit name = namingContainer.GetNode<LineEdit>("./VBoxContainer/LineEdit");
Button button = namingContainer.GetNode<Button>("./VBoxContainer/Button");
Action handler = null;
handler = () =>