예제 #1
0
        private void ClearGemAt(GridIndex index)
        {
            var gem = GetGem(index);

            if (gem != null)
            {
                allGems[index.GridX, index.GridY] = null;
                gem.OnMoveComplete -= HandleGemMoveComplete;
                BoardBehaviour.DestroyGem(gem);
            }
        }