Exemple #1
0
        public void ChallengeBtnClick(int index)
        {
            int freetimes = HonorArenaManager.Instance.GetHonorArenaFreeTimes();
            int usetimes  = HonorArenaManager.Instance.Info.usedTimes;

            if (HonorArenaManager.Instance.Info.ticket <= 0 && freetimes - usetimes <= 0)
            {
                OnBuyTimesButtonClick();
                return;
            }

            HonorArenaManager.Instance.CurrentChallenger = honorArenaItem[index].challenger;
            LTHonorArenaBattleController.Open(false, index, selectFast);
        }
Exemple #2
0
 public void OnEmbattleButtonClick()
 {
     LTHonorArenaBattleController.Open(true, 0, false);
 }