PlayerControllerHelperMapHelperGetButtonMapsWithAction Method (ControllerType, String, Boolean, ListActionElementMap) |
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)
Syntax public int GetButtonMapsWithAction(
ControllerType controllerType,
string actionName,
bool skipDisabledMaps,
List<ActionElementMap> results
)
Parameters
- controllerType
- Type: RewiredControllerType
- actionName
- Type: SystemString
- skipDisabledMaps
- Type: SystemBoolean
- results
- Type: System.Collections.GenericListActionElementMap
The list that will be filled with the results.
Return Value
Type:
Int32Number of maps found.
Exceptions Exception | Condition |
---|
ArgumentNullException | results is null |
See Also