private void Configure() { instance = this; SceneManager.sceneLoaded += OnSceneLoaded; }
//Being called in awake, singleton pattern private void Configure() { instance = this; SceneManager.sceneLoaded += OnSceneLoaded; //subscribes to the event }