void RuneBtnClickHandler(EM_RUNE_POINT runeIdx) { ObjectCard cardInfo = UI_HeroInfoManager._instance.GetCurCard(); if (cardInfo == null) { LogManager.LogError("HeroInfoManager GetCurCard返回为null"); return; } //没装备着符文; if (cardInfo.GetHeroData().IsRuneNull(runeIdx)) { HRCMgr.ShowUI(runeIdx); RunOnBack(); HideRuneDetailUI(); } else { mRunePoint = runeIdx; ItemEquip itemE = cardInfo.GetHeroData().GetRuneItemInfo(runeIdx); ShowRuneDetailUI(itemE); } HideRunePropUI(); }
void OnChangeBtnClick() { HideRuneDetailUI(); HRCMgr.ShowUI(mRunePoint); RunOnBack(); }