PlayerControllerHelperMapHelperElementMapsWithAction(ControllerType, Int32, Int32, Boolean) Method |
Enumerates all ActionElementMaps for a specific controller that contains a specific Action.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntaxpublic IEnumerable<ActionElementMap> ElementMapsWithAction(
ControllerType controllerType,
int controllerId,
int actionId,
bool skipDisabledMaps
)
Parameters
- controllerType ControllerType
- The type of controller.
- controllerId Int32
- Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
- actionId Int32
- Id of the Action
- skipDisabledMaps Boolean
- Should disabled Controller Maps and Action Element Maps be skipped?
Return Value
IEnumerableActionElementMapEnumeration of Action Element Maps with the specified Action.
See Also