public static class ReInput
Thetype exposes the following members.
Gets an object that provides access to configuration-related data.
Gets an object that contains all controller-related members.
Is the input system ready?
Gets an object that contains all mapping-related members.
Gets an object that contains all player-related members.
Gets the current Rewired version number as a string.
Gets an object that provides access to time-related data. This is mostly for time comparisons for button and axis active/inactive time measurement.
Gets an object that contains all touch-related members.
Does the current platform require manual joystick identification?
Gets the UserDataStore component attached to the Rewired Input Manager if any. Use to access data saving and loading.
Is Unity (fallback) input currently being used to drive input?
Completely clears and reinitializes the Input Manager. This is equivalent to destroying the Rewired Input Manager and reinstantiating it. The current input configuration (Joystick ids, controller assignments, modified Controller Maps) will be reset. All stored references to Rewired objects (Player, Joystick, ReInput.ControllerHelper, etc.) will become invalid. All event listeners will be cleared.
Event triggered when a controller is conected.
Event triggered after a controller is disconnected.
Event triggered just before a controller is disconnected. You can use this event to save controller maps before the controller is removed.
Event triggered when editor begins recompiling scripts.
Event triggered after Rewired initializes. Event listeners are never cleared from this event when Rewired is shut down so you can subscribe once and receive events every time Rewired initializes.
Event triggered before all input sources are updated. Use this event to update the element values Custom Controllers.
Event triggered immediately before Rewired shuts down. Rewired objects are still valid during this event.
Event triggered after Rewired shuts down.