Click or drag to resize

PlayerControllerHelperAddLastActiveControllerChangedDelegate(PlayerActiveControllerChangedDelegate, ControllerType) Method

Add a delegate to receive a callback every time the last active controller of a specific type changes.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public 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