Exemplo n.º 1
0
 void Awake()
 {
     MonsterMain         = GetComponent <MonsterMain>();
     pathfindingMovement = GetComponent <MonsterPathfindingMovement>();
 }
Exemplo n.º 2
0
 void Awake()
 {
     pathfindingMovement = GetComponent <MonsterPathfindingMovement>();
     state       = State.Roaming;
     MonsterMain = GetComponent <MonsterMain>();
 }