예제 #1
0
 public void OnScreenClick()
 {
     screenView.part = this.part;
     screenView.enableRandomImages = enableRandomImages;
     screenView.screenSwitchTime   = screenSwitchTime;
     screenView.screenIsVisible    = this.screenIsVisible;
     screenView.SetVisible(true);
 }
예제 #2
0
        public void ToggleGUI()
        {
            bool isVisible = !screenView.IsVisible();

            screenView.part        = this.part;
            screenView.aspectRatio = this.aspectRatio;
            screenView.SetVisible(isVisible);
        }