'Unity WebGl escape button
first of all sorry about my english. in unity2020 webgl , when i want to control escape button in web to show pause menu , in editor everything is fine , but in browser in first escape button push mouse is release from screen and visible but not showing pause menu, in next push escape button the pause menu is showing , i want in first time i push escape button the pause menu is showing .
i try Cursor.lockState = CursorLockMode.None; Cursor.visible = true;
to control mouse but the problem is the scound escape button working and system dosen't take first push button thanks if anyone can help me .
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
