public void SetUIParts(CardListParts cardListParts, ButtonParts startBattleButtonParts) { this.cardListParts = cardListParts; cardListParts.cardPartsClick = CardPartsClick; cardListParts.cardPartsPushDown = cardPartsPushDown; cardListParts.cardPartsPushUp = cardPartsPushUp; this.startBattleButtonParts = startBattleButtonParts; UpdateParts(true); }
public void InitUI(CardListParts cardListParts, ButtonParts startBattleButtonParts) { startBattleButtonParts.buttonClick = StartBattleButtonClick; cardManager.SetUIParts(cardListParts, startBattleButtonParts); }