PlayerControllerHelperConflictCheckingHelperDoesElementAssignmentConflict(ControllerType, Int32, ControllerMap, ActionElementMap) Method |
Checks if any element assignments on a particular Controller assigned to this Player
conflicts with the assignment in the incoming Action Element Map.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic bool DoesElementAssignmentConflict(
ControllerType controllerType,
int controllerId,
ControllerMap controllerMap,
ActionElementMap elementMap
)
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 that contains the incoming Action Element Map. This is used to determine the Map Category for Map Category to Map Category conflict checking.
- elementMap ActionElementMap
- The Action Element Map whose assignment will be checked against for conflicts.
Return Value
BooleanIs there a conflict?
See Also