public void OnScreenClick() { screenView.part = this.part; screenView.enableRandomImages = enableRandomImages; screenView.screenSwitchTime = screenSwitchTime; screenView.screenIsVisible = this.screenIsVisible; screenView.SetVisible(true); }
public void ToggleGUI() { bool isVisible = !screenView.IsVisible(); screenView.part = this.part; screenView.aspectRatio = this.aspectRatio; screenView.SetVisible(isVisible); }