private void Hide() { mShowing = false; mMainMenuWindow.Showing = false; mTextMenuWindow.Showing = false; mIconMenuWindow.Showing = false; if (mCheckIfClickedInWindowInputTask != null) { mCheckIfClickedInWindowInputTask.Exit(); } }
public override void OnRemove() { base.OnRemove(); //TODO: this cleans up the workaround for the input bug if (mRegisterForMouseDownReceipt != null) { mRegisterForMouseDownReceipt.Exit(); } if (mRegisterForMouseUpReceipt != null) { mRegisterForMouseUpReceipt.Exit(); } if (mRegisterForMousePositionReceipt != null) { mRegisterForMousePositionReceipt.Exit(); } if (mInputManager != null) { mInputManager.OnRemove(); } }
public void Dispose() { StopMovement(); mCollisionReceipt.Exit(); }