public void OnClickGoInfoUIBtn() { ConfirmCtrlArgs args = new ConfirmCtrlArgs(); args.yesAction = () => { CtrlManager.Instance.Enter <HeroInfoCtrl>(); }; CtrlManager.Instance.Enter <ConfirmCtrl>(args); }
public override void OnEnter(CtrlArgs args) { confirmArgs = (ConfirmCtrlArgs)args; ui.Show(); }