/// <summary> /// De-attach view, model /// </summary> public void Deattach() { m_View = null; m_Model = null; //unregister from NotifyManager NotifyManager.GetInstance().UnregisterObserver(this); }
public IController() { //register to NotifyManager NotifyManager.GetInstance().RegisterObserver(this); }