Exemple #1
0
 // Use this for initialization
 protected virtual void Start()
 {
     enemyWave = GetComponentInParent <EnemyWave> ();
     position  = transform.position - enemyWave.GetPosition();
     speed     = enemyWave.GetSpeed();
 }