public void Aggro() { FSMState chaseState = FSMManager.GetState("ZombieChase"); if (chaseState != null) { EntityFSM.ChangeState(chaseState); } }
private void Start() { //FSM TESTING FSMState normalState = FSMManager.GetState("ZombieWander"); if (normalState != null) { EntityFSM.ChangeState(normalState); } else { Debug.LogError("Can't find Zombie Wander state"); } }