|
Post by britannis on May 20, 2016 7:51:05 GMT
I checked the Cursor docs and since the cursor isn't represented by a transform, I don't think I'd be able to do it elegantly through code because there's nothing to rotate. docs.unity3d.com/ScriptReference/Cursor.htmlMy cursor is set up basically using the example code given in the SetCursor() method. What would you suggest if I wanted to rotate the cursor via script?
|
|
|
Post by Admin on May 20, 2016 13:26:08 GMT
You can get the mouse coordinates and place your own object which you can rotate however you want. You can use multiple cameras with a mask, or sprite layers, etc to make sure that it renders on top of everything else.
|
|