PlayerControllerHelperConflictCheckingHelperDoesElementAssignmentConflict Method (ControllerType, Int32, ControllerMap, Boolean, Boolean) |
Checks if any element assignments on a particular Controller assigned to this Player
conflicts with any of the assignments on the incoming Controller Map.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool DoesElementAssignmentConflict(
ControllerType controllerType,
int controllerId,
ControllerMap controllerMap,
bool skipDisabledMaps,
bool forceCheckAllCategories
)
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 whose Action Element Maps will be checked against for conflicts. - skipDisabledMaps
- Type: SystemBoolean
If true, disabled Controller Maps and Action Element Maps will be skipped. - forceCheckAllCategories
- Type: SystemBoolean
If true, all Map Categories will be checked against each other for conflicts regardless of the Map Category to Map Category conflict checking settings defined in the Rewired Input Manager.
Return Value
Type:
BooleanIs there a conflict?
See Also