Beispiel #1
0
    public void BatchDestroy()
    {
        for (int i = 0; i < _plants.Count; i++)
        {
            if (_plants[i] != null)
            {
                _plants[i].Destroy();
            }
        }

        _batchManager.BatchDestroy();
    }