Click or drag to resize

PlayerControllerHelperConflictCheckingHelperRemoveElementAssignmentConflicts Method (ElementAssignmentConflictCheck, Boolean, Boolean)

Removes any element assignments on a particular Controller assigned to this Player that conflict with the potential assignment in the incoming Element Assignment Conflict Check.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int RemoveElementAssignmentConflicts(
	ElementAssignmentConflictCheck conflictCheck,
	bool skipRemovedMaps,
	bool forceCheckAllCategories
)

Parameters

conflictCheck
Type: RewiredElementAssignmentConflictCheck
The object containing the desired element assignment.
skipRemovedMaps
Type: SystemBoolean
If true, removed 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: Int32
Number of Action Element Maps that were removed.
See Also