public void LoadScene(string destScene) { destScene = ModHooks.BeforeSceneLoad(destScene); orig_LoadScene(destScene); ModHooks.OnSceneChanged(destScene); }
public void BeginSceneTransition(GameManager.SceneLoadInfo info) { info.SceneName = ModHooks.BeforeSceneLoad(info.SceneName); orig_BeginSceneTransition(info); }