If you want to get rid of the mouse i used this code (java script, Just attach it to your camera)
function Update () {
//hide the cursor (at the beginning of the game)
Screen.showCursor = false;
}
I combined this with my pause menu so when i push esc the pause menu then activates the mouse once again to allow me to click stuff.
Hope it helped.
↧