Answers for "can i lock cursor to position unity"

C#
1

how to lock and hide the cursor unity

Cursor.lockState = CursorLockMode.None; // this is to lock the cursor
Cursor.visible = true; //this is to make cursor visible
Posted by: Guest on August-04-2021
0

how to lock and hide the cursor unity

Cursor.lockState = CursorLockMode.None; // this is to unlock the cursor
Cursor.visible = true;
Posted by: Guest on August-04-2021

C# Answers by Framework

Browse Popular Code Answers by Language