public override void Realse() { EventDispatch.RemoveListener(Events.DlgFlyTextShow, this.Show); EventDispatch.RemoveListener(Events.DlgFlyTextHide, this.Hide); //EventDispatch.RemoveListener<int, long, EHpEffectType>(Events.DlgAddHpEffect, this.AddHpEffect); //EventDispatch.RemoveListener<string>(Events.DlgAddReportInfo, this.AddReprotInfo); //EventDispatch.RemoveListener<long, long>(Events.DlgAddKillInfo, this.AddKillInfo); EventDispatch.RemoveListener <string>(Events.DlgAddSingleSystemInfo, this.AddSingleSystemInfo); EventDispatch.RemoveListener <string, Action, Action>(Events.DlgAddDoubleSystemInfo, this.AddDoubleSystemInfo); EventDispatch.RemoveListener <string, Action>(Events.DlgAddSingleActionSystemInfo, this.AddSingleActionSystemInfo); }
public override void ClearTask() { if (ForceEffect != null) { GameObject.Destroy(ForceEffect); } if (this.ForceClickPrefab != null) { GameObject.Destroy(this.ForceClickPrefab); } this.Black.SetActive(false); EventDispatch.RemoveListener <GameObject>(Events.DlgAddGuideEvent, this.OnUIOpenAddButtonEvent); }
public override void Realse() { EventDispatch.RemoveListener(Events.DlgLoadingAllFinished, this.OnLoadAllFinished); }
public override void Realse() { EventDispatch.RemoveListener("UITest", this.Show); }
protected override void OnRemoveListener() { EventDispatch.RemoveListener <bool>(Events.DlgMainShowMask, this.ShowMask); EventDispatch.RemoveListener <bool>(Events.DlgMainEndLevel, this.EndLevel); EventDispatch.RemoveListener <int>(Events.DlgMainStartCd, this.SetCD); }
protected override void OnRemoveListener() { EventDispatch.RemoveListener(Events.DlgTextEnterLearn, this.GuideToEnterLearn); EventDispatch.RemoveListener <bool>(Events.DlgTextShowMask, this.ShowMask); }
protected override void OnRemoveListener() { EventDispatch.RemoveListener <EGuideTaskType, int>(Events.DlgGuideChildTaskFinished, this.OnFinishChildTask); }
public override void Realse() { EventDispatch.RemoveListener(Events.DlgPlayGuideShow, this.Show); EventDispatch.RemoveListener(Events.DlgPlayGuideHide, this.Hide); }
protected override void OnRemoveListener() { EventDispatch.RemoveListener(Events.DlgStartMoneyUpdate, this.UpdateMoney); }
public override void Realse() { EventDispatch.RemoveListener("DlgLogin", this.Show); }