Basic projectile implementation (put sample version in FilthEaterModelView)

This commit is contained in:
2025-10-23 18:50:05 -07:00
parent bc161a58b3
commit f5360adbf1
36 changed files with 1124 additions and 106 deletions

View File

@@ -88,4 +88,11 @@ public partial class PatrolBehavior : Node3D, IBehavior
}
private void PatrolTimer_Timeout() => SetPatrolTarget();
public void OnExitTree()
{
_patrolTimer.Stop();
_patrolTimer.Timeout -= PatrolTimer_Timeout;
_navigationAgent.WaypointReached -= NavigationAgent_WaypointReached;
}
}