示例#1
0
    void ClearLists()
    {
        foreach (GameObject cube in CubeList)
        {
            GameObject.Destroy(cube);
        }

        Spaces.Clear();
        CubeList.Clear();
    }