ReInputConfigHelperdeferControllerConnectedEventsOnStart Property |
Defer controller connected events for controllers already connected when Rewired initializes until the Start event instead of
during initialization. Normally, it's impossible to receive controller connection events at the start of runtime because Rewired
initializes before any other script is able to subscribe to the controller connected event. Enabling this will defer the controller
connected events until the Start event, allowing your scripts to subscribe to the controller connected event in Awake and still
receive the event callback. If disabled, controller connection events for controllers already connected before runtime starts will be missed.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool deferControllerConnectedEventsOnStart { get; set; }
Property Value
Type:
BooleanSee Also