예제 #1
0
 public void OnSceneUnloaded(Scene scene)
 {
     if (scene.name == "GameplayCore")
     {
         Decoupler.HideEffect();
     }
 }
예제 #2
0
 public void OnSceneLoaded(Scene scene, LoadSceneMode sceneMode)
 {
     if (scene.name == "MenuCore" && !runOnce)
     {
         Logger.Info("First scene change to MenuCore, apply patch");
         runOnce = true;
         Patcher.Patch();
         Decoupler.OnLoad();
     }
 }