// Start is called before the first frame update
    void Start()
    {
        //starting position
        //transform.position = new Vector3(0, 7.59f, 0);

        _player = GameObject.Find("Player").GetComponent <PlayerLevelTwo>();
    }
 // Start is called before the first frame update
 void Start()
 {
     _player = GameObject.Find("Player").GetComponent <PlayerLevelTwo>();
     if (_player == null)
     {
         Debug.LogError("Player is null");
     }
 }
    PlayerLevelTwo _player;                            //handle to the playerleveltwo script


    // Start is called before the first frame update
    void Start()
    {
        //EnemyStartingPosition(); //calling method
        _player = GameObject.Find("Player").GetComponent <PlayerLevelTwo>();
    }
Beispiel #4
0
    PlayerLevelTwo _player;                             //handle to the playerleveltwo script

    // Start is called before the first frame update
    void Start()
    {
        _player = GameObject.Find("Player").GetComponent <PlayerLevelTwo>();
    }