Determines whether the hardware pointer is visible or not.
Set this to true to reveal the cursor. Set it to false to hide the cursor. Note that in CursorLockMode.Locked mode, the cursor is invisible regardless of the value of this property.
#pragma strict public class CursorScript { // Use this for initialization function Start() { //Set Cursor to not be visible Cursor.visible = false; } }
using UnityEngine; using System.Collections;
public class CursorScript : MonoBehaviour { // Use this for initialization void Start() { //Set Cursor to not be visible Cursor.visible = false; } }