Hey,
i'm trying to get the Input.mousePosition.x on a tk2dCamera with an upper Left Anchor. The script is attached
to a child of the Anchor. I'm using a iPhone 5 640x1136px Resolution, but the values i get from the mouse are not correct.
I tried some stuff with ScreenToWorldPosition() as suggested, than the values are correct but 0,0 is no longer on the top left.
What i want are the "real" positions of my click/touch based on the screen size (top left 0,0 or bottom right 640,-1136).
How do i do this?
Thanks!
*** Solved my own Question: Problem was that i had the tk2DCamera Origin to center instead of Bottom Left. Now my ScreenToWorldPosition Value is correct!