Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. We're looking for your feedback on the platforms you use and how you use them. Let us know!
    Dismiss Notice
  4. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  6. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  7. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  8. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

2 joysticks CrossPlatformInput for a game on Android

Discussion in 'Extensions & OnGUI' started by Paullux, May 31, 2018.

  1. Paullux

    Paullux

    Joined:
    Aug 6, 2015
    Posts:
    6
    Good morning,

    I used "CrossPlatformInput" from the standard assets, first I put a first joystick, it works fine.

    However, as soon as I try to put a second one, it blocks, it is detected by the Unity test mode, but once the game is compiled, it does not act, it is only present graphically.

    I've been trying to make it work for two days.

    First I logically changed the names of the joysticks, the names of the axes generated by the two joysticks, I also tried to copy the script that handles the joysticks.

    Nothing makes the second joystick doesn't work.

    I need some help.
     
  2. Paullux

    Paullux

    Joined:
    Aug 6, 2015
    Posts:
    6
    I solve the problem, i remove the calling of axes of second joystick in a scene where isn't present.