Player.IsCurrentInputSource(String, ControllerType) Method |
Checks whether any controller of controller type contributed input to this Action in the current frame.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic bool IsCurrentInputSource(
string actionName,
ControllerType controllerType
)
Parameters
- actionName String
- Name of the Action
- controllerType ControllerType
- Type of the controller
Return Value
BooleanWhether any controller type contributed to the Action this frame.
See Also