Пример #1
0
 protected void InitializeAi()
 {
     wasFacingRight = rightFacing;         // Sets the starting direction of player
     enemyState     = EnemyState.Idle;
     pathfinding.Setup(this);
     player = Player.instance.transform;
 }