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); }
public void OnEmbattleButtonClick() { LTHonorArenaBattleController.Open(true, 0, false); }