Inheritance: UnityEngine.MonoBehaviour
        public void Awake()
        {
            Instance = this;
            DontDestroyOnLoad(this);

            globalSettings = new GlobalSettings();
            LoadGlobalSettings();
        }
Example #2
0
        public void Awake()
        {
            Instance = this;
            DontDestroyOnLoad(this);

            globalSettings = new GlobalSettings();
            LoadGlobalSettings();
        }