Example #1
0
 private new void Start()
 {
     movement = GetComponent <EnemyMovement>();
     movement.Patrol();
 }
Example #2
0
 protected virtual void Start()
 {
     enemyMovement = GetComponent <EnemyMovement>();
     enemyShoot    = GetComponentInChildren <EnemyShoot>();
     player        = GameManager.instance.GetPlayerReference();
 }