ActionElementMapTryGetCombinedElementIdentifierName Method |
Gets the combined descriptive name of the element identifiers bound to the Action if available.
This can be used to get a descriptive name of an element that doesn't actually exist but is a sub-set of element members of a Compound Element.
For example, when passing in two Action Element Maps that are bound buttons D-Pad Left and D-Pad Right, "D-Pad Horizontal" will be returned.
When passing in four Action Element Maps that are bound to all four buttons of a D-Pad, "D-Pad" will be returned.
The returned value will be localized if localization is in use.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static bool TryGetCombinedElementIdentifierName(
IList<ActionElementMap> actionElementMaps,
out string result
)
Parameters
- actionElementMaps IListActionElementMap
- The list of Action Element Maps. All Action Element Maps must be from the same Controller Map. Result will only be returned if all Action Element Maps combined match to a known name.
- result String
- The combined element identifier name result.
Return Value
BooleanTrue if a result was found, false if not.
See Also