コード例 #1
0
 public WheelSelectPopup openWheelSelectPopup()
 {
     this.openGreyOutWindow(true);
     this.closePopupWindow(this.m_WheelSelectPopup);
     this.m_WheelSelectPopup = new WheelSelectPopup();
     this.positionWindow(this.m_WheelSelectPopup, false, false);
     this.m_WheelSelectPopup.init();
     this.m_WheelSelectPopup.Show(this.getGreyOutWindow());
     GameEngine.Instance.DisableMouseClicks();
     return this.m_WheelSelectPopup;
 }
コード例 #2
0
 public void closeWheelSelectPopup()
 {
     if (!this.WheelSelectPopupClosing)
     {
         WheelPanel.ClearInstance();
         this.WheelSelectPopupClosing = true;
         if (this.isPopupWindowOpenAndClose(this.m_WheelSelectPopup))
         {
             GameEngine.Instance.EnableMouseClicks();
             this.closeGreyOut();
         }
         this.m_WheelSelectPopup = null;
         this.WheelSelectPopupClosing = false;
     }
 }