public override void onClosed() { instance = null; // EventTriggerListener.Get(fg).clearAllListener(); InterfaceMgr.getInstance().changeState(InterfaceMgr.STATE_NORMAL); OnClosedProcess(); }
public override void onShowed() { npctalk.instance = this; InterfaceMgr.getInstance().changeState(InterfaceMgr.STATE_STORY); EventTriggerListener.Get(this.fg).onClick = new EventTriggerListener.VoidDelegate(this.onClick); this.showDesc(); this.transTalk.gameObject.SetActive(true); }
public override void onShowed() { instance = this; InterfaceMgr.getInstance().changeState(InterfaceMgr.STATE_STORY); //teach.SetActive(SelfRole.s_bStandaloneScene); EventTriggerListener.Get(fg).onClick = onClick; showDesc(); transTalk.gameObject.SetActive(true); }
public override void onClosed() { npctalk.instance = null; InterfaceMgr.getInstance().changeState(InterfaceMgr.STATE_NORMAL); this.OnClosedProcess(); }