Hello,
I was using old OnGUI before. But that does not work with my Oculus and is not recommended anymore.
So I Change everything to new UI.
For my invnentory and some other Scenes I Need to draw a Special texture exactly where the mouse is.
I am not sure if this is the way or totally nonsense:
I have a canvas and added an empty transform with a rawimage. I added it to my script as a gameobject with Name "MouseCursor".
First I tried:...
Draw Mousecursor but without using OnGUI?
I was using old OnGUI before. But that does not work with my Oculus and is not recommended anymore.
So I Change everything to new UI.
For my invnentory and some other Scenes I Need to draw a Special texture exactly where the mouse is.
I am not sure if this is the way or totally nonsense:
I have a canvas and added an empty transform with a rawimage. I added it to my script as a gameobject with Name "MouseCursor".
First I tried:...
Draw Mousecursor but without using OnGUI?