So i just updated to unity 5 and i was meesing around with the new standard assets.
But when i tried using the “MobileSingleStickControll” and installed it on my phone, the joystick wouldnt move or respond at all. I get no errors whatsoever.
Is this a bug or am i just doing something wrong?
You have to add
using UnityStandardAssets.CrossPlatformInput;
on top, and the controls have to be for example
CrossPlatformInputManager.GetAxis("Horizontal")
instead of
Input.GetAxis("Horizontal"
If you want do use both, you can do it like
Input.GetAxis("Horizontal")+CrossPlatformInputManager.GetAxis("Horizontal")
I hope that helps you.