Hello.
Is there any way of determine if xbox controler is enabled/plugged ? Or some kind of script doing this? Im trying to find answer to this question for while now with no luck whatsoever.
Thanks
Hello.
Is there any way of determine if xbox controler is enabled/plugged ? Or some kind of script doing this? Im trying to find answer to this question for while now with no luck whatsoever.
Thanks
I successfully did some basic things like adjusting number of players on the menu screen with this:
Input.GetJoystickNames
But honestly, the default joystick support by Unity is not the best. There are much better solutions in form of 3rd party plugins, which use Direct Input for example and can give you events when users plug in their controllers and so on. I’ve personally used “Rewired”, but there are other ones, which are less complex, etc.