Im on a Mac Mini and if i put my mouse over the in game windows i get the hardware cursor i set on Player settings, but i get the default mouse when I hover over the game on a build…
Any ideas?
EDIT:
Ive debugged this code and it actually goes through the single line on the Start event, yet i get no change on the cursor.
This is the code:
using UnityEngine;
using System.Collections;
public class CursorAsignation : MonoBehaviour {
public Texture2D cursorTexture;
public CursorMode cursorMode = CursorMode.Auto;
public Vector2 hotSpot = Vector2.zero;
void Start () {
// when we mouse over this object, set the cursor
Cursor.SetCursor(cursorTexture, hotSpot, cursorMode);
}
}