Hi,
I have a problem. I have a script who change my cursor when i’m over a button. I used this script for the oldest version, but in Unity 5.5.0b1, Unity give me this error :
Cursor' does not contain a definition for
SetCursor’
Here’s my code
public Texture2D cursorTexture;
public CursorMode cursorMode = CursorMode.Auto;
public Vector2 hotSpot = Vector2.zero;
Cursor.SetCursor(cursorTexture, hotSpot, cursorMode);
Someone can help me ?