Esempio n. 1
0
        protected override void Awake()
        {
            _instance = this;
            DontDestroyOnLoad(this);

            GameEvents.onGUIApplicationLauncherReady.Add(_onGUIApplicationLauncherReady);
            GameEvents.onGameSceneLoadRequested.Add(_onGameSceneLoadRequested);

            OnAwake();
        }
        protected override void Awake()
        {
            _instance = this;
            DontDestroyOnLoad(this);

            GameEvents.onGUIApplicationLauncherReady.Add(_onGUIApplicationLauncherReady);
            GameEvents.onGameSceneLoadRequested.Add(_onGameSceneLoadRequested);

            OnAwake();
        }