mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-16 21:08:28 +00:00
don't lock cursor to allow for touch input testing
This commit is contained in:
parent
da20c52e05
commit
551fcf7988
1 changed files with 3 additions and 3 deletions
|
@ -88,9 +88,9 @@ namespace SanAndreasUnity.UI {
|
|||
|
||||
// unlock and show cursor while pause menu is opened
|
||||
if (Loader.HasLoaded) {
|
||||
bool shouldBeLocked = !IsOpened;
|
||||
if (GameManager.CursorLocked != shouldBeLocked)
|
||||
GameManager.ChangeCursorState (shouldBeLocked);
|
||||
// bool shouldBeLocked = !IsOpened;
|
||||
// if (GameManager.CursorLocked != shouldBeLocked)
|
||||
// GameManager.ChangeCursorState (shouldBeLocked);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue