Exemple #1
0
 private void GameManager_OnApplicationQuit(On.GameManager.orig_OnApplicationQuit orig, GameManager self)
 {
     MainMenuOrQuit?.Invoke();
     orig(self);
 }
Exemple #2
0
 private IEnumerator GameManager_ReturnToMainMenu(On.GameManager.orig_ReturnToMainMenu orig, GameManager self, GameManager.ReturnToMainMenuSaveModes saveMode, Action <bool> callback)
 {
     MainMenuOrQuit?.Invoke();
     return(orig(self, saveMode, callback));
 }