Reputation:
I am encountering an extremely absurd phenomenon. When I run my code on my smartphone via Unity Remote or even on the computer, it works as expected. But when I install the APK on the device and run it, the parameters change! Does this have something to do with resolution?
Upvotes: 0
Views: 138
Reputation: 12631
In general you may need to investigate ScreenToWorldPoint
,
as in say
pWorldSpace = someCamera.ScreenToWorldPoint( Input.mousePosition );
it is a large difficult topic, and I don't know specifically what you need: every project needs custom code for this. Suggest google for code samples using it
Upvotes: 2