ReInputControllerHelperAutoAssignJoystick Method |
Auto-assigns a Joystick to a Player based on the joystick auto-assignment settings in the Rewired Input Manager.
If the Joystick is already assigned to a Player, the Joystick will not be re-assigned.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntaxpublic bool AutoAssignJoystick(
Joystick joystick
)
Parameters
- joystick Joystick
- Joystick to assign to a Player.
Return Value
BooleanTrue if the Joystick was assigned to a Player.
See Also