void Start() { this.gameObject.layer = 2; if(this.collider == null) GameObject.Destroy(this.gameObject); else { this.spawnedQuantity = new int[this.enemyID.Length]; if(!this.spawnOnEnter) this.StartCoroutine(this.SpawnAllEnemies()); } }