Added renaming to the robots onclick.
This commit is contained in:
+2
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user