using Mapbox.Examples; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class MainController : MonoBehaviour { [SerializeField]GameObject root; private Text Version; private void Awake() { Version = this.transform.Find("GameObject").Find("Version").GetComponent(); Version.text = "Version:"+App.AppVersion; } // Start is called before the first frame update void Start() { UIManager.Instance.Root = root; UIManager.Instance.MainPanel = this.transform.Find("Panel").GetComponent(); UIManager.Instance.ModalsPanel = this.transform.Find("ModalPanel").GetComponent(); //MainMenu.transform.Find("Home").GetComponent