示例#1
0
    void RemovePanel(int x, int y)
    {
        PanelController panel = panels[x, y];

        if (panel == null)
        {
            return;
        }

        if (!panel.isClick)
        {
            return;
        }

        panels[x, y] = null;
        panel.Destroy();

        IncreaseDeleteCount();

        CreatePanelDeleteParticle(x, y);
    }