public void Hide(bool animation)
 {
     base.enabled = false;
     SwitchChildEnabled();
     _BeforeTargetSlot = mUIRemodeModernzationTargetShip_TargetShips[0];
     isShown           = false;
     if (animation)
     {
         if (UserInterfaceRemodelManager.instance.status != ScreenStatus.MODE_KINDAIKA_KAISHU_KAKUNIN)
         {
             RemodelUtils.MoveWithManual(base.gameObject, hidePos, 0.2f, delegate
             {
                 if (!isShown)
                 {
                     base.gameObject.SetActive(false);
                 }
             });
         }
     }
     else
     {
         base.transform.localPosition = hidePos;
         base.gameObject.SetActive(false);
     }
 }
 public void Show(bool animation)
 {
     UIRemodeModernzationTargetShip[] array = mUIRemodeModernzationTargetShip_TargetShips;
     foreach (UIRemodeModernzationTargetShip uIRemodeModernzationTargetShip in array)
     {
         uIRemodeModernzationTargetShip.Refresh();
     }
     base.gameObject.SetActive(true);
     base.enabled = true;
     SwitchChildEnabled();
     isShown = true;
     if (animation)
     {
         mPanelThis.widgetsAreStatic = true;
         RemodelUtils.MoveWithManual(base.gameObject, showPos, 0.2f, delegate
         {
             mPanelThis.widgetsAreStatic = false;
         });
     }
     else
     {
         base.transform.localPosition = showPos;
     }
     if (mCurrentFocusTargetShipSlot != null)
     {
         mCurrentFocusTargetShipSlot.Hover();
     }
     UpdateStartButtonEnabled();
 }
 public void Show(bool animation)
 {
     UIRemodeModernzationTargetShip[] array = this.mUIRemodeModernzationTargetShip_TargetShips;
     for (int i = 0; i < array.Length; i++)
     {
         UIRemodeModernzationTargetShip uIRemodeModernzationTargetShip = array[i];
         uIRemodeModernzationTargetShip.Refresh();
     }
     base.get_gameObject().SetActive(true);
     base.set_enabled(true);
     this.SwitchChildEnabled();
     this.isShown = true;
     if (animation)
     {
         this.mPanelThis.widgetsAreStatic = true;
         RemodelUtils.MoveWithManual(base.get_gameObject(), this.showPos, 0.2f, delegate
         {
             this.mPanelThis.widgetsAreStatic = false;
         });
     }
     else
     {
         base.get_transform().set_localPosition(this.showPos);
     }
     if (this.mCurrentFocusTargetShipSlot != null)
     {
         this.mCurrentFocusTargetShipSlot.Hover();
     }
     this.UpdateStartButtonEnabled();
 }
 public void Hide(bool animation)
 {
     base.set_enabled(false);
     this.SwitchChildEnabled();
     this._BeforeTargetSlot = this.mUIRemodeModernzationTargetShip_TargetShips[0];
     this.isShown           = false;
     if (animation)
     {
         if (UserInterfaceRemodelManager.instance.status != ScreenStatus.MODE_KINDAIKA_KAISHU_KAKUNIN)
         {
             RemodelUtils.MoveWithManual(base.get_gameObject(), this.hidePos, 0.2f, delegate
             {
                 if (!this.isShown)
                 {
                     base.get_gameObject().SetActive(false);
                 }
             });
         }
     }
     else
     {
         base.get_transform().set_localPosition(this.hidePos);
         base.get_gameObject().SetActive(false);
     }
 }
 public void Show()
 {
     base.gameObject.SetActive(true);
     base.enabled = true;
     mButton_TouchBackArea.SetActive(isActive: true);
     RemodelUtils.MoveWithManual(base.gameObject, showPos, 0.2f, delegate
     {
         isShown = true;
     });
 }
 public void Show()
 {
     base.get_gameObject().SetActive(true);
     this.backAreaButton.SetActive(true);
     base.set_enabled(true);
     RemodelUtils.MoveWithManual(base.get_gameObject(), this.showPos, 0.3f, delegate
     {
         this.isShown = true;
     });
 }
 public void Show(bool animation)
 {
     base.gameObject.SetActive(true);
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.gameObject, showPos, 0.2f);
     }
     else
     {
         base.transform.localPosition = showPos;
     }
 }
예제 #8
0
 public void Show()
 {
     base.gameObject.SetActive(true);
     if (initialized)
     {
         RemodelUtils.MoveWithManual(base.gameObject, showPos, 0.3f, delegate
         {
             isShown = true;
         });
         base.enabled = true;
     }
 }
예제 #9
0
 public void Show(bool animation)
 {
     base.get_gameObject().SetActive(true);
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.get_gameObject(), this.showPos, 0.2f, null);
     }
     else
     {
         base.get_transform().set_localPosition(this.showPos);
     }
 }
 public void Hide(bool animation)
 {
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.gameObject, hidePos, 0.2f, delegate
         {
             base.gameObject.SetActive(false);
         });
         return;
     }
     base.transform.localPosition = hidePos;
     base.gameObject.SetActive(false);
 }
예제 #11
0
 public void Hide(bool animation)
 {
     SetKeyController(null);
     mButton_TouchBack.SetActive(isActive: false);
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.gameObject, hidePos, 0.2f);
     }
     else
     {
         base.transform.localPosition = hidePos;
     }
 }
예제 #12
0
 public void Show()
 {
     base.get_gameObject().SetActive(true);
     if (!this.initialized)
     {
         return;
     }
     RemodelUtils.MoveWithManual(base.get_gameObject(), this.showPos, 0.3f, delegate
     {
         this.isShown = true;
     });
     base.set_enabled(true);
 }
 public void Hide(bool animation)
 {
     this.SetKeyController(null);
     this.mButton_TouchBack.SetActive(false);
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.get_gameObject(), this.hidePos, 0.2f, null);
     }
     else
     {
         base.get_transform().set_localPosition(this.hidePos);
     }
 }
예제 #14
0
 public void Show()
 {
     base.transform.SetActive(isActive: false);
     base.transform.SetActive(isActive: true);
     mTransform_TouchBack.SetActive(isActive: true);
     mPanelThis.widgetsAreStatic = true;
     StartStaticWidgetChildren();
     RemodelUtils.MoveWithManual(base.gameObject, showPos, ANIMATION_DURATION, delegate
     {
         isShown = true;
         mPanelThis.widgetsAreStatic = false;
         StopStaticWidgetChildren();
     });
 }
예제 #15
0
        public void Show(bool animation)
        {
            base.gameObject.SetActive(true);
            Vector3 vector = (!expand) ? showPos : showPos4Expand;

            if (animation)
            {
                RemodelUtils.MoveWithManual(base.gameObject, vector, 0.2f);
            }
            else
            {
                base.transform.localPosition = vector;
            }
        }
 public void Show()
 {
     base.get_transform().SetActive(false);
     base.get_transform().SetActive(true);
     this.mTransform_TouchBack.SetActive(true);
     this.mPanelThis.widgetsAreStatic = true;
     base.StartStaticWidgetChildren();
     RemodelUtils.MoveWithManual(base.get_gameObject(), this.showPos, this.ANIMATION_DURATION, delegate
     {
         this.isShown = true;
         this.mPanelThis.widgetsAreStatic = false;
         base.StopStaticWidgetChildren();
     });
 }
예제 #17
0
        public void Show(bool animation)
        {
            base.get_gameObject().SetActive(true);
            Vector3 vector = (!this.expand) ? this.showPos : this.showPos4Expand;

            if (animation)
            {
                RemodelUtils.MoveWithManual(base.get_gameObject(), vector, 0.2f, null);
            }
            else
            {
                base.get_transform().set_localPosition(vector);
            }
        }
예제 #18
0
 public void Hide(bool animation)
 {
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.get_gameObject(), this.hidePos, 0.2f, delegate
         {
             base.get_gameObject().SetActive(false);
         });
     }
     else
     {
         base.get_transform().set_localPosition(this.hidePos);
         base.get_gameObject().SetActive(false);
     }
 }
 public void Show(bool animation)
 {
     base.keyControlEnable = true;
     base.gameObject.SetActive(true);
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.gameObject, showPos, 0.2f, delegate
         {
         });
     }
     else
     {
         base.transform.localPosition = showPos;
     }
 }
예제 #20
0
        public void Hide(bool animation)
        {
            Vector3 vector = (!expand) ? hidePos : hidePos4Expand;

            if (animation)
            {
                RemodelUtils.MoveWithManual(base.gameObject, vector, 0.2f, delegate
                {
                    base.gameObject.SetActive(false);
                });
                return;
            }
            base.transform.localPosition = vector;
            base.gameObject.SetActive(false);
        }
예제 #21
0
 public void Hide(bool animation)
 {
     isShown      = false;
     base.enabled = false;
     touchBackArea.SetActive(isActive: false);
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.gameObject, hidePos, 0.3f, delegate
         {
             base.gameObject.SetActive(false);
         });
         return;
     }
     base.transform.localPosition = hidePos;
     base.gameObject.SetActive(false);
 }
 public void Show()
 {
     base.RefreshViews();
     base.gameObject.SetActive(false);
     base.gameObject.SetActive(true);
     base.enabled = true;
     StartStaticWidgetChildren();
     RemodelUtils.MoveWithManual(base.gameObject, showPos, 0.2f, delegate
     {
         isShown = true;
         StopStaticWidgetChildren();
     });
     TouchBackArea.enabled = true;
     StartControl();
     ChangeShip(mCurrentFocusView.GetModel());
 }
 public void Show()
 {
     base.RefreshViews();
     base.get_gameObject().SetActive(false);
     base.get_gameObject().SetActive(true);
     base.set_enabled(true);
     base.StartStaticWidgetChildren();
     RemodelUtils.MoveWithManual(base.get_gameObject(), this.showPos, 0.2f, delegate
     {
         this.isShown = true;
         base.StopStaticWidgetChildren();
     });
     this.TouchBackArea.set_enabled(true);
     base.StartControl();
     this.ChangeShip(this.mCurrentFocusView.GetModel());
 }
예제 #24
0
 public void Show(bool animation)
 {
     if (animation)
     {
         TweenPosition tweenPosition = RemodelUtils.MoveWithManual(base.gameObject, showPos, 0.3f, delegate
         {
             isShown = true;
         });
         tweenPosition.PlayForward();
     }
     else
     {
         isShown = true;
         base.transform.localPosition = showPos;
     }
 }
예제 #25
0
 public void Show(bool animation)
 {
     if (animation)
     {
         TweenPosition tweenPosition = RemodelUtils.MoveWithManual(base.get_gameObject(), this.showPos, 0.3f, delegate
         {
             this.isShown = true;
         });
         tweenPosition.PlayForward();
     }
     else
     {
         this.isShown = true;
         base.get_transform().set_localPosition(this.showPos);
     }
 }
예제 #26
0
        public void Hide(bool animation)
        {
            Vector3 vector = (!this.expand) ? this.hidePos : this.hidePos4Expand;

            if (animation)
            {
                RemodelUtils.MoveWithManual(base.get_gameObject(), vector, 0.2f, delegate
                {
                    base.get_gameObject().SetActive(false);
                });
            }
            else
            {
                base.get_transform().set_localPosition(vector);
                base.get_gameObject().SetActive(false);
            }
        }
예제 #27
0
 public void Hide(bool animation)
 {
     StartStaticWidgetChildren();
     SetKeyController(null);
     mTransform_TouchBack.SetActive(isActive: false);
     isShown = false;
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.gameObject, hidePos, ANIMATION_DURATION, delegate
         {
             StopStaticWidgetChildren();
         });
         return;
     }
     base.transform.localPosition = hidePos;
     StopStaticWidgetChildren();
 }
 public void Hide(bool animation)
 {
     this.isShown = false;
     base.set_enabled(false);
     this.touchBackArea.SetActive(false);
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.get_gameObject(), this.hidePos, 0.3f, delegate
         {
             base.get_gameObject().SetActive(false);
         });
     }
     else
     {
         base.get_transform().set_localPosition(this.hidePos);
         base.get_gameObject().SetActive(false);
     }
 }
예제 #29
0
 public void Show(bool animation)
 {
     base.gameObject.SetActive(true);
     base.enabled = true;
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.gameObject, showPos, 0.3f, delegate
         {
             isShown = true;
         });
     }
     else
     {
         isShown = true;
         base.transform.localPosition = showPos;
     }
     mButton_TouchBackArea.SetActive(isActive: true);
 }
 public void Hide(bool animation)
 {
     isShown = false;
     StartStaticWidgetChildren();
     base.enabled = false;
     if (animation)
     {
         RemodelUtils.MoveWithManual(base.gameObject, hidePos, 0.2f, delegate
         {
             StopStaticWidgetChildren();
         }).PlayForward();
     }
     else
     {
         base.transform.localPosition = hidePos;
     }
     TouchBackArea.enabled = false;
 }