Exemple #1
0
    public void SetUIParts(CardListParts cardListParts, ButtonParts startBattleButtonParts)
    {
        this.cardListParts = cardListParts;
        cardListParts.cardPartsClick = CardPartsClick;
        cardListParts.cardPartsPushDown = cardPartsPushDown;
        cardListParts.cardPartsPushUp = cardPartsPushUp;

        this.startBattleButtonParts = startBattleButtonParts;

        UpdateParts(true);
    }
Exemple #2
0
 public void InitUI(CardListParts cardListParts, ButtonParts startBattleButtonParts)
 {
     startBattleButtonParts.buttonClick = StartBattleButtonClick;
     cardManager.SetUIParts(cardListParts, startBattleButtonParts);
 }