using System.Collections; using System.Collections.Generic; using UnityEngine; using LzFramework.UI; using UnityEngine.UI; namespace DisComputer { public class Enter : MonoBehaviour { // Start is called before the first frame update void Start() { TTUIPage.ShowPage(); TTUIPage.ShowPage(); GameObject canvasGo = GameObject.Find("UIRoot").gameObject; if (canvasGo != null) { Canvas canvas = canvasGo.GetComponent(); canvas.GetComponent().referenceResolution = new Vector2(1920,1080); } } } }