Пример #1
0
    void ClearPlanets()
    {
        while (this.spawnedPlanets.Count > 0)
        {
            Destroy(this.spawnedPlanets[0]);
            this.spawnedPlanets.RemoveAt(0);
        }

        minimap.DeletePlanets();
        info.DeletePlanets();
    }