PlayerControllerHelperMapHelperGetElementMapsWithAction Method (Controller, Int32, Boolean, ListActionElementMap) |
Gets a list of all ActionElementMaps for a specific controller that contains a specific Action.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public int GetElementMapsWithAction(
Controller controller,
int actionId,
bool skipDisabledMaps,
List<ActionElementMap> results
)
Parameters
- controller
- Type: RewiredController
The Controller. - actionId
- Type: SystemInt32
Id of the Action - skipDisabledMaps
- Type: SystemBoolean
Should disabled Controller Maps and Action Element Maps be skipped? - 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