PlayerControllerHelperConflictCheckingHelperElementAssignmentConflicts(ControllerType, Int32, ControllerMap, Boolean) Method |
Enumerates all conflicts between element assignments on a particular Controller
assigned to this Player and any of the assignments on the incoming Controller Map.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic IEnumerable<ElementAssignmentConflictInfo> ElementAssignmentConflicts(
ControllerType controllerType,
int controllerId,
ControllerMap controllerMap,
bool skipDisabledMaps
)
Parameters
- controllerType ControllerType
- The type of controller.
- controllerId Int32
- Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
- controllerMap ControllerMap
- The Controller Map whose Action Element Maps will be checked against for conflicts.
- skipDisabledMaps Boolean
- If true, disabled Controller Maps and Action Element Maps will be skipped.
Return Value
IEnumerableElementAssignmentConflictInfoIEnumerable of conflicts.
See Also