>>128
Cursor.lockStateとCursor.visibleをテキトーに設定すればおk

https://docs.unity3d.com/ja/current/ScriptReference/Cursor.html