using System.Collections; using System.Collections.Generic; using UnityEngine; public class UIRootCanvas : MonoBehaviour { private void Awake() { UIManager.Instance.SetRootCanvas(gameObject.GetComponent()); } }