Added renaming to the robots onclick.

This commit is contained in:
=
2026-04-28 14:37:12 +02:00
parent b926be307e
commit 4b460926c5
6 changed files with 103 additions and 7 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
using System.Threading.Tasks;
using Godot;
public partial class Robot : Node3D
@@ -9,6 +10,6 @@ public partial class Robot : Node3D
public void OnClicked()
{
GD.Print("Test!");
GetNode<UIHandler>("/root/Main/CanvasLayer/Control").ShowNamingPopup(this);
}
}