File tree Expand file tree Collapse file tree 3 files changed +3
-26
lines changed
ScriptableObjects/EventChannels Expand file tree Collapse file tree 3 files changed +3
-26
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ public class UIMenuManager : MonoBehaviour
2020 private VoidEventChannelSO _startNewGameEvent = default ;
2121 [ SerializeField ]
2222 private VoidEventChannelSO _continueGameEvent = default ;
23- [ SerializeField ]
24- private VoidEventChannelSO _onGameExitEvent = default ;
2523
2624
2725
@@ -59,7 +57,10 @@ void ButtonStartNewGameClicked()
5957 }
6058
6159 }
60+ void testEvent ( )
61+ {
6262
63+ }
6364 void ConfirmStartNewGame ( )
6465 {
6566 _startNewGameEvent . RaiseEvent ( ) ;
@@ -152,7 +153,6 @@ void HideExitConfirmationPopup(bool quitConfirmed)
152153 if ( quitConfirmed )
153154 {
154155 Application . Quit ( ) ;
155- _onGameExitEvent . OnEventRaised ( ) ;
156156 }
157157 _mainMenuPanel . SetMenuScreen ( _hasSaveData ) ;
158158
You can’t perform that action at this time.
0 commit comments