//using CR; using UnityEngine; using UnityEngine.Rendering; using UnityEngine.UI; using UnityEngine.Rendering.PostProcessing; using UnityEngine.Rendering.Universal; public class Resolution : MonoBehaviour { public void ClickResolution(bool toggle){ print("Resolution toggle===="+toggle); if(toggle){ Screen.SetResolution(2560, 1500,true); } else { Screen.SetResolution(1280, 750,true); } } public void ClickOutline(bool toggle){ // Volume volume = Get.o1("Global Volume").GetComponent(); // volume.profile.TryGet(out CleanOutline CO); // CO.active=toggle; } }