예제 #1
0
 private void Update()
 {
     if (this.pieBackground.innerSize != this.innerSize || this.pieBackground.outerSize != this.outerSize || this.pieBackground.startRadius != this.startRadius || this.pieBackground.endRadius != this.startRadius + this.radiusSize)
     {
         this.pieBackground.startRadius = this.startRadius;
         this.pieBackground.endRadius   = this.startRadius + this.radiusSize;
         this.pieBackground.innerSize   = this.innerSize;
         this.pieBackground.outerSize   = this.outerSize;
         this.pieBackground.SetVerticesDirty();
     }
     this.UpdateInteraction(true);
     if (this.IsOpen)
     {
         CursorManager.HoldOpen(false);
         IngameMenuBackground.Enabled = true;
     }
 }
예제 #2
0
 private void Update()
 {
     if (!Application.get_isPlaying())
     {
         this.Rebuild();
     }
     if ((double)this.pieBackground.innerSize != (double)this.innerSize || (double)this.pieBackground.outerSize != (double)this.outerSize || ((double)this.pieBackground.startRadius != (double)this.startRadius || (double)this.pieBackground.endRadius != (double)this.startRadius + (double)this.radiusSize))
     {
         this.pieBackground.startRadius = this.startRadius;
         this.pieBackground.endRadius   = this.startRadius + this.radiusSize;
         this.pieBackground.innerSize   = this.innerSize;
         this.pieBackground.outerSize   = this.outerSize;
         this.pieBackground.SetVerticesDirty();
     }
     this.UpdateInteraction(true);
     if (!this.IsOpen)
     {
         return;
     }
     CursorManager.HoldOpen(false);
     IngameMenuBackground.Enabled = true;
 }
예제 #3
0
 private void Update()
 {
     CursorManager.HoldOpen(false);
 }