Search Unity

2 joysticks CrossPlatformInput for a game on Android

Discussion in 'Immediate Mode GUI (IMGUI)' 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.