Ejemplo n.º 1
0
    public void ClickDeckEditButton()
    {
        if (curSelectedMainSlot == null)
        {
            return;
        }

        if (curSelectedMainSlot.Data == null)
        {
            tempDeckData = new DeckData("new deck");
        }
        else
        {
            tempDeckData = new DeckData(curSelectedMainSlot.Data.DeckName);
            tempDeckData.CopyData(curSelectedMainSlot.Data.DataDic);
            DeckManager.Instance.CheckDeckEffect(tempDeckData);
        }

        ActiveDeckEditUI();
    }