protected override void ConfigureStates() { states = new IEnumerator[3]; states[0] = AIStates.StandAndShootPlayer(blackboardReference, manager.components); states[1] = AIStates.GotoCover(blackboardReference, manager.components, 8, true, 4); states[2] = AIStates.ApproachAttack(blackboardReference, manager.components, 3); }
protected override void ConfigureStates() { states = new IEnumerator[4]; Debug.Log("Current: " + currentState); states[0] = AIStates.LookAround(blackboardReference, manager.components); states[1] = AIStates.StandAndShootPlayer(blackboardReference, manager.components); states[2] = AIStates.GotoCover(blackboardReference, manager.components, 6, true, 4); states[3] = AIStates.ApproachAttack(blackboardReference, manager.components, 3); }