예제 #1
0
 private void Hide()
 {
     mShowing = false;
     mMainMenuWindow.Showing = false;
     mTextMenuWindow.Showing = false;
     mIconMenuWindow.Showing = false;
     if (mCheckIfClickedInWindowInputTask != null)
     {
         mCheckIfClickedInWindowInputTask.Exit();
     }
 }
예제 #2
0
        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();
            }
        }
예제 #3
0
 public void Dispose()
 {
     StopMovement();
     mCollisionReceipt.Exit();
 }