- Home /
Question by
WardPeeters · Apr 11, 2015 at 06:28 AM ·
mobileresolutionscreen
How to know which half part of the touchscreen is pressed?
Hello
I'm working on a mobile game in unity 4.6. I want the player to able to click the left and right side of the screen. It works fine on my phone but I'm worried about phones with other resolutions.
This is what I got now: touch.position.x < 150 and touch.position.x >= 150.
Will this mabye work with a prectage?
Thanks for helping!
Comment