public SpawnerPool(GameObject prefab, Spawner spawner) { this.prefab = new SpawnerPrefab(prefab); this.spawner = spawner; }