Exemple #1
0
 // Use this for initialization
 void Start()
 {
     if (Time.timeSinceLevelLoad == 2)
     {
         strategy = gameObject.AddComponent <EnemySpawnerStrategy>();
         strategy.StartStrategy();
     }
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     strategy = gameObject.AddComponent <EnemySpawnerStrategy>();
     strategy.StartStrategy();
 }