コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }