cursor visible unity code example
Example 1: unity hide mouse
Cursor.visible = false;
Example 2: cursor not visible unity c#
using UnityEngine;
using System.Collections;
public class CursorScript : MonoBehaviour
{
// Use this for initialization
void Start()
{
//Set Cursor to not be visible
Cursor.visible = false;
}
}