public virtual void OnDestroy() { if (eventMgr != null) { eventMgr.RemoveAll(); } }
protected override void OnHide() { base.OnHide(); eventMgr.RemoveAll(); }
public virtual void OnDestroy() { eventMgr.RemoveAll(); }