using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyManager : MonoBehaviour { private EnemySpawner[] enemySpawners; // Use this for initialization void Start () { enemySpawners= GameObject.FindObjectsOfType(); } // Update is called once per frame void Update () { foreach(EnemySpawner spawner in enemySpawners) { // Just do nothing, no need to manage anything actually... } } }