using UnityEngine; namespace BeautifyEffect { public class Demo : MonoBehaviour { private void OnGUI() { Rect position = new Rect(10f, 10f, Screen.width - 20, 30f); GUI.Label(position, "Move around with WASD or cursor keys, mouse to look, T or left mouse button to toggle beautify on/off."); position = new Rect(10f, 30f, Screen.width - 20, 30f); if (Beautify.instance.enabled) { GUI.Label(position, "BEAUTIFY EFFECT ON => Crisp mountains, no banding on sky, color enhancement."); } else { GUI.Label(position, "BEAUTIFY EFFECT OFF"); } } private void Update() { if (Input.GetKeyDown(KeyCode.T) || Input.GetMouseButtonDown(0)) { Beautify.instance.enabled = !Beautify.instance.enabled; } } } }