- Home /
Unity StandardAssets CrossPlatformInput (MobileInput Buttons) for Crouching issues
Hello, I hope everyone is doing well in these difficult times,
I have a quick question for those who have used the Unity StandardAssets pack (2D), and more specifically about the CrossPlatformInput (For a MobileInput) :
I used the script "AxisTouchButton" for left / right movements and "ButtonHandler" for the "Jump", everything works perfectly (thanks to the different tutorials found on the web ! However, I did not have to modify the Player control script, everything works perfectly without that)
The problem arises with the Crouch, I tried to do it in the same way as the ButtonHandler, by changing "Jump" by "Crouch", but it does not work, I added the "Crouch" in the Unity Inputs (with left control), but it does not worked too I also tried to use a PointerDown/PointerUp to have an event while pressing (And it worked with the Logs) but i didn't found how to reference the crouch while pressing the button (It work fine with the LeftControl of the keyboard)
The horizontal movements as well as the Jump were pre configured, so I tell myself that the Crouch is also (Without having to edit the animations / Character controler scripts)
Is there someone who has already been there?
Thank you for taking the time to read me!
Your answer
Follow this Question
Related Questions
Not Able to see Joystick & Button after deploying game to Android Device 1 Answer
CrossPlatforminputManager errors despite all the files being in the project. 7 Answers
Steelseries 3gc controller key mappings 0 Answers
How to make a character run by alternately hitting two buttons? 3 Answers
pulsing button Cross Platform Input? 0 Answers