Shoot the guy

This commit is contained in:
2023-09-02 09:18:16 -07:00
parent 37dbe271fe
commit 3b8e6b34c9
9 changed files with 131 additions and 2 deletions

10
Scenes/TestEnemy.cs Normal file
View File

@@ -0,0 +1,10 @@
using Godot;
public partial class TestEnemy : Node3D
{
public void OnHit(Node node)
{
GD.Print("Hit detected");
QueueFree();
}
}