PlayerIsCurrentInputSource Method (String, ControllerType, Int32) |
Checks whether a particular controller contributed input to this Action in the current frame.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool IsCurrentInputSource(
string actionName,
ControllerType controllerType,
int controllerId
)
Parameters
- actionName
- Type: SystemString
Name of the Action - controllerType
- Type: RewiredControllerType
Type of the controller - controllerId
- Type: SystemInt32
Id the controller
Return Value
Type:
BooleanWhether a controller contributed to the Action this frame.
See Also