コード例 #1
0
        private void Clear()
        {
            wall.Clear();
            gridSettings.Clear(boardSettings);

            int childCount = componentsParent.childCount;

            for (int i = childCount - 1; i >= 0; i--)
            {
                DestroyImmediate(componentsParent.GetChild(i).gameObject);
            }
        }