ReInputControllerHelperSetLastActiveController Method |
Sets the last active controller manually.
This overrides the last active controller temporarily, using the current time as the last active time for the controller.
When another Controller returns input with a later timestamp, it will become the last active controller.
Required: The Controller must be connected.
Note that when setting this value, the last active controller event will not be sent until the next Rewired update.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic bool SetLastActiveController(
Controller controller
)
Parameters
- controller Controller
- The controller.
Return Value
BooleanTrue on success. False on failure.
See Also