InputActionEventDataIsCurrentInputSource(ControllerType, Int32) Method |
Checks whether a particular controller contributed input to this Action in the current frame.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntaxpublic bool IsCurrentInputSource(
ControllerType controllerType,
int controllerId
)
Parameters
- controllerType ControllerType
- Type of the controller
- controllerId Int32
- Id of the Controller
Return Value
BooleanWhether the controller contributed to the Action this frame.
See Also