using System.Collections; using System.Collections.Generic; using UnityEngine; public class MainController : MonoBehaviour { // Start is called before the first frame update void Start() { UIManager.Instance.MainPanel = this.transform.Find("Panel").GetComponent(); UIManager.Instance.ModalsPanel = this.transform.Find("ModalPanel").GetComponent(); //MainMenu.transform.Find("Home").GetComponent