Make CrossPlatformInput Joystick scale with resolution
Hello,
how can I manage different resolutions with the Unity CrossPlatformInput joystick? My phone for example, has a relatively high resolution and the Joystick gets way too small. Also the radius of the Joystick is way too small.
What would be a good way to adapt the size?
Thanks in advance!
Answer by iabulko · Sep 09, 2016 at 04:09 PM
I think the best way is to make it dependent to screen resolution by multiplying it's size by screen height or width. To do that you can use Screen.width and Screen.height
Your answer
Follow this Question
Related Questions
Twin stick control 2D 1 Answer
Multiple inputs with one finger on Android? 1 Answer
I can not use Std. Asset Cross platform input, after unity update 0 Answers
Weird things happening with gamepad input 0 Answers
Cross-Platform Input 3 Answers