I have a function that I want to call when the scene changes using the SceneManager.sceneLoaded event, but because it takes parameters of ‘Scene’ and ‘LoadSceneMode’, they are required by my function and are useless.
private void SetKeys(Scene useless, LoadSceneMode uselessAsWell)
Is there a way to remove the parameters but still receive the notification that a scene has loaded? Thank you!