mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-10 06:34:16 +00:00
lock cursor
This commit is contained in:
parent
b9ca2b2c7a
commit
d74a809d95
2 changed files with 4 additions and 4 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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
- Chat
|
||||
|
||||
- Android: add perms for read/write access to storage ; forbid screen rotation ; assign app version ;
|
||||
- Android:
|
||||
|
||||
- Touch input: lock cursor when testing finishes ;
|
||||
|
||||
|
|
Loading…
Reference in a new issue