Hello.
I’m searching for a way to convert a gui to a worldspace.
I can’t figure it out how to to it.
I would prefer to get a small example!
(no Unity 4.6)
thanks
Hello.
I’m searching for a way to convert a gui to a worldspace.
I can’t figure it out how to to it.
I would prefer to get a small example!
(no Unity 4.6)
thanks
var screenPos = guiPos;
screenPos.y = Screen.height - screenPos.y;
var worldPos = Camera.main.ScreenToWorldPoint(pos);