BattleArea.Start C# (CSharp) Méthode

Start() public méthode

public Start ( ) : void
Résultat void
    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());
        }
    }