Ejemplo n.º 1
0
 void Start()
 {
     anim             = GetComponent <Animator>();
     state            = TState.WALK;
     m_NavMeshAgent   = GetComponent <NavMeshAgent>();
     startingPosition = transform.position;
     restartController.addEnemyToList(this.gameObject);
 }