PlayerControllerHelperConflictCheckingHelperElementAssignmentConflicts Method (ControllerType, Int32, ControllerMap, ActionElementMap) |
Enumerates all conflicts between element assignments on a particular Controller
assigned to this Player and the assignment in the incoming Action Element Map.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public IEnumerable<ElementAssignmentConflictInfo> ElementAssignmentConflicts(
ControllerType controllerType,
int controllerId,
ControllerMap controllerMap,
ActionElementMap elementMap
)
Parameters
- controllerType
- Type: RewiredControllerType
The type of controller. - controllerId
- Type: SystemInt32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0. - controllerMap
- Type: RewiredControllerMap
The Controller Map that contains the incoming Action Element Map. This is used to determine the Map Category for Map Category to Map Category conflict checking. - elementMap
- Type: RewiredActionElementMap
The Action Element Map whose assignment will be checked against for conflicts.
Return Value
Type:
IEnumerableElementAssignmentConflictInfoIEnumerable of conflicts.
See Also