PlayerControllerHelperConflictCheckingHelperRemoveElementAssignmentConflicts Method (ControllerType, Int32, ControllerMap, Boolean) |
Removes all element assignments on a particular Controller assigned to this Player
that conflict 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 int RemoveElementAssignmentConflicts(
ControllerType controllerType,
int controllerId,
ControllerMap controllerMap,
bool skipRemovedMaps
)
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. - skipRemovedMaps
- Type: SystemBoolean
If true, removed Controller Maps and Action Element Maps will be skipped.
Return Value
Type:
Int32Number of Action Element Maps that were removed.
See Also