Quantcast
Channel: Questions in topic: "visibility"
Viewing all articles
Browse latest Browse all 211

Enable/Disable Cursor.visible / CursorLockMode.Locked on Trigger

$
0
0
Can someone please help me with this matter ? I have a first person controller which by default in its script the Cursor is set to Cursor.visible = false; and Cursor.lockState = CurosrLockMode.Locked; I want the Cursor to be visible and Cursor.lockState to NOT be Locked when I enter a trigger box. Please see the image attached. And of course to revert to being false and locked when exiting the trigger. I have tried different possibilities that other has explained here but non of it works. Nothing happens on entering the trigger box... I am out of solutions. Thank you ! ![alt text][1] [1]: /storage/temp/164804-image.jpg

Viewing all articles
Browse latest Browse all 211

Latest Images

Trending Articles





Latest Images