Better input and UI control, low FOV render
This commit is contained in:
@@ -79,7 +79,11 @@ public class InputManager : MonoBehaviour
|
||||
void HandleLockableInput()
|
||||
{
|
||||
|
||||
HandleMouseInput();
|
||||
if(mouseActive)
|
||||
{
|
||||
HandleMouseInput();
|
||||
}
|
||||
|
||||
if (Input.GetKey(KeyCode.LeftShift))
|
||||
{
|
||||
CameraController.Instance.SetCameraSpeed(CameraController.Instance.GetCameraSpeedMax());
|
||||
@@ -131,6 +135,16 @@ public class InputManager : MonoBehaviour
|
||||
|
||||
}
|
||||
|
||||
if(Input.GetKeyDown(KeyCode.R))
|
||||
{
|
||||
SimManager.Instance.RestartSimulation();
|
||||
}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.L)) // 'L' for Load
|
||||
{
|
||||
UIManager.Instance.ToggleConfigSelectorPanel();
|
||||
}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.Space))
|
||||
{
|
||||
// Pause the time
|
||||
|
||||
Reference in New Issue
Block a user