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