change: enemy combat/detection state now handled by the spawner

This commit is contained in:
Chris
2025-11-22 14:15:58 -05:00
parent e7b72520c0
commit ea048be111
3 changed files with 156 additions and 28 deletions

View File

@@ -8,8 +8,13 @@ namespace Reset.Units{
[Button]
public void SetNewTarget(GameObject newTarget){
Unit.Graph.SendEvent("New Target Set");
Unit.Graph.SendEvent("New Target Detected");
target = newTarget;
}
public void DropTarget(){
target = null;
Unit.Graph.SendEvent("Drop Target");
}
}
}