Hi,
When I build an RPG to windows, there are no custom cursors, just a windows arrow cursor. Any solution?
Works fine in editor, but not in windows build.
private void SetCursor(CursorType type)
{
CursorMapping mapping = GetCursorMapping(type);
Cursor.SetCursor(mapping.texture, mapping.hotspot, CursorMode.Auto);
}
private CursorMapping GetCursorMapping(CursorType type)
{
foreach (CursorMapping mapping in cursorMapping)
{
if (mapping.type == type)
{
return mapping;
}
}
return cursorMapping[0];
}
}
Unity RPG Core Combat Creator
Thanks for answers and have a nice day
Marti