PlayerControllerHelperAddLastActiveControllerChangedDelegate(PlayerActiveControllerChangedDelegate, ControllerType) Method |
Add a delegate to receive a callback every time the last active controller of a specific type changes.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic void AddLastActiveControllerChangedDelegate(
PlayerActiveControllerChangedDelegate callback,
ControllerType controllerType
)
Parameters
- callback PlayerActiveControllerChangedDelegate
- The delegate that will be called.
- controllerType ControllerType
- The controller type for which to listen for changes.
See Also