Exemplo n.º 1
0
    // Update is called once per frame
    void Update()
    {
        states = stateMachine.GetStates <CharacterState> ();

        if (stateMachine.GetState <CharacterState> (CharacterState.NONE) == true)
        {
        }
    }
Exemplo n.º 2
0
 void Update()
 {
     //Gets lists of all states in enum.
     mechStates = stateMachine.GetStates <MechState> ();
 }
Exemplo n.º 3
0
 void Update()
 {
     //Gets lists of all states in enum.
     monsterStates = stateMachine.GetStates <MonsterState> ();
 }
Exemplo n.º 4
0
 void Update()
 {
     //Gets lists of all states in enum.
     gameStates = stateMachine.GetStates <GameState> ();
 }
Exemplo n.º 5
0
 void Update()
 {
     //Gets lists of all states in enum.
     humanStates = stateMachine.GetStates <HumanState> ();
 }