Question by
MedusaGames · Jan 30, 2018 at 10:54 PM ·
main menu
Main Menu Help!
Im making a main menu for a fps. The menu works but the cursor lock doesnt allow you to click a button. How do I turn off cursor lock only when in my menu scene?. Thanks.
Comment
Answer by Obsessi0n · Jan 31, 2018 at 01:14 AM
Just de-activate the cursor lock when menu is oppened.
Cursor.lockState = CursorLockMode.None;
Cursor.visible = true;
Your answer
Follow this Question
Related Questions
How to make it so that when quit menu is clicked then quit menu canvas pops up? 0 Answers
Game scene loads in background to Main Menu,Game level loads along with Main Menu 0 Answers
Application.LoadLevel is missing - Help please! 1 Answer
How to get the Cursor to be visible after returning to main menu. 1 Answer
Main Menu Button help 1 Answer