Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: bigPalooka on August 14, 2021, 01:55:40 AM
-
Hello all!
I'm setting a custom cursor with the Set Mouse Cursor action, however the texture I'm using needs its origin/hotspot in the top left (like a regular windows cursor).
Set Mouse Cursor seems to set the hotspot to the centre by default. I have tried setting the texture as a Cursor and also as Sprite (2D and UI) with pivot set to top-left. No success so far.
I'm usually good at finding solutions on my own but this relatively simple thing has stumped me for a while now.
Any help would be very appreciated!
-
I've fixed this by writing a C# script with different methods for each cursor and calling these methods via playmaker.
Not the neatest solution but at least it's working now.