Player.ControllerHelper.MapHelper.GetButtonMapsWithAction Method (ControllerType, Int32, Boolean, List<ActionElementMap>) |
Gets a list of all button ActionElementMaps for a specific controller type that contains a specific Action.
This overload applies to all Controllers of the specified type assigned to the Player.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int GetButtonMapsWithAction(
ControllerType controllerType,
int actionId,
bool skipDisabledMaps,
List<ActionElementMap> results
)
Parameters
- controllerType
- Type: Rewired.ControllerType
Controller type - actionId
- Type: System.Int32
Action id - skipDisabledMaps
- Type: System.Boolean
Should disabled maps be skipped? - results
- Type: System.Collections.Generic.List<ActionElementMap>
The list that will be filled with the results.
Return Value
Type:
Int32Number of maps found.
ExceptionsException | Condition |
---|
ArgumentNullException | results is null |
See Also