I’m struggling to find a way for me to implement local multiplayer. It seems the only way to read the joystick is with Input.GetJoystickNames(), however when iterating through these it often returns them in the wrong order and doesn’t correspond to the xbox 360 gamepad light.
The functionality I’m looking for is similar to Samurai Gunn. This is a player select screen where players can press X and join the game with a selected controller.
Should I just maintain a List<> on my game manager and whatever controller connects and presses X first is index 0, 1, 2, 3 ?
If I did it this way, how would I relate it to the Unity Input settings? using a string prefix or something?