ControllerMapGetButtonMapsWithAction Method (Int32, Boolean, ListActionElementMap) |
Gets all Button ActionElementMaps in this controller map that contain a specific Action.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public int GetButtonMapsWithAction(
int actionId,
bool skipDisabledMaps,
List<ActionElementMap> results
)
Parameters
- actionId
- Type: SystemInt32
The id of the Action - skipDisabledMaps
- Type: SystemBoolean
Should disabled ActionElementMaps be skipped? - results
- Type: System.Collections.GenericListActionElementMap
List which will be populated with matching results.
Return Value
Type:
Int32Number of maps found.
Exceptions Exception | Condition |
---|
ArgumentNullException | results is null |
See Also