тестирование
This commit is contained in:
1 parent
11d290d572
commit
570e778cda
39 files changed
+2007
-97
No files matched your search
@@ -131,6 +131,9 @@ public static class DeathScreenBuilder
|
||||
deathUI.fadeDuration = 0.8f;
|
||||
deathUI.mainMenuSceneName = "MainMenu";
|
||||
|
||||
UnityEditor.Events.UnityEventTools.AddPersistentListener(restartBtn.onClick, deathUI.RestartGame);
|
||||
UnityEditor.Events.UnityEventTools.AddPersistentListener(mainMenuBtn.onClick, deathUI.ReturnToMainMenu);
|
||||
|
||||
// По умолчанию скрываем панель смерти
|
||||
deathPanel.SetActive(false);
|
||||
|
||||
|
||||
Reference in new issue
Block a user