I'm trying to replace the cursor with a custom texture. I've tried many things but no matter what I try I'm just getting the default windows cursor.
Here's my latest attempt as a reference:
Input.SetMouseMode(MouseMode.Absolute); Input.SetMouseVisible(true, false); var cursor = new Cursor(); cursor.Texture = resources.GetTexture2D("UI/cursor.png"); cursor.Visible = true; App.UI.Cursor = cursor;
What could be the problem?
PS if I set mode to relative and set mouse visible to false I'm still seeing the default windows cursor, it seems like the entire cursor related API doesn't work for me for some reason.