- Home /
Input.GetAxis returns a value, whilst CrosPlatformInputManager.GetAxis dosn't.
Title says it all, i will link a vid of me demonstrating it.
Answer by jimmycrazyskills · Dec 21, 2018 at 09:11 PM
Hi mate not 100% sure, but I think CrossPlatformInputManager.GetAxis only gives a value when you're debugging on an actual android device. Try logging out when running on an actual device (write to a text document somewhere on the device to check the log happens).
Hope this helped mate =)
But isn't the whole point of CrossPlatformInput$$anonymous$$anager to make the input cross platform?
True I'm probably wrong, I just thought I remembered facing the same issue when developing an fps shooter which used a joystick for android. And that I only got meaningful values when I debugged on my android device.
Your answer
Follow this Question
Related Questions
Whole Numbers Divide Incorrectly....BUG? 0 Answers
Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers
Is it a good idea to check if a float isn't zero 3 Answers
Member variables returning to 0 0 Answers
Change a float smooth 2 Answers