private void Start() { OnShowMainMenu += InternalOnShowMainMenu; if (StartGameImmediatelly) { Player.position = PlayerIntroEnd.position; OnShowGameMenu?.Invoke(); } else { OnShowMainMenu?.Invoke(); } }
public static void NotifyReturnToMainMenu() { InternalRestartGame(); OnRestartGame?.Invoke(); OnShowMainMenu?.Invoke(); }