input refactored
This commit is contained in:
@@ -8,6 +8,7 @@ public class PauseScreenController:IPauseScreenController
|
||||
private PauseScreenView pauseScreenView;
|
||||
[Inject] private IInputReader IinputReader;
|
||||
[Inject] private IAudioController IaudioController;
|
||||
[Inject] private IGameSession IgameSession;
|
||||
|
||||
public PauseScreenController(PauseScreenView _pauseScreenView)
|
||||
{
|
||||
@@ -26,6 +27,7 @@ public class PauseScreenController:IPauseScreenController
|
||||
Time.timeScale = 1.0f;
|
||||
IinputReader.UnlockInput();
|
||||
IaudioController.PlayBtnPressedSound();
|
||||
IgameSession.showStartScreen = false;
|
||||
SceneManager.LoadScene(0); //Restart This Scene
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user