private void OnClickUp(EventContext context) { var game = WinCenter.inst.TransView <UISmallGame1>(); game.OnFinish = win => { SkillCreateFacade.getInstance().SelectQualityUpEvent(win); Hide(); }; }
private void OnCreateFinish(EventContext context) { if (m_UI.m_LabelNameInput.text == "") { WinCenter.inst.ShowTips("名字不能为空!"); return; } SkillCreateFacade.getInstance().CreateSkillFinish(m_View.Data, m_UI.m_LabelNameInput.text); }
private void OnClickUp(EventContext context) { List <ItemData> list = new List <ItemData>(); for (int i = 0; i < 3; i++) { if (m_SelectItemDatas[i] != null) { list.Add(m_SelectItemDatas[i]); } } SkillCreateFacade.getInstance().SelectPowerUpEvent(list); Hide(); }
/// <summary> /// 继续研读 /// </summary> /// <param name="context"></param> private void OnClickCreateAgain(EventContext context) { SkillCreateFacade.getInstance().GiveUpEvent(); }
/// <summary> /// 开始研读 /// </summary> /// <param name="context"></param> private void OnClickStartCreate(EventContext context) { SkillCreateFacade.getInstance().CreateSkill(m_View.Data); }
/// <summary> /// 开始领悟 /// </summary> /// <param name="context"></param> private void OnClickStartPlace(EventContext context) { SkillCreateFacade.getInstance().TryEvent(m_View.Data.PlaceId); }