Skip to content

Commit fbcd1a9

Browse files
committed
we don't need binding count here
1 parent 392709d commit fbcd1a9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Packages/com.unity.inputsystem/InputSystem/Actions/InputActionState.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,6 @@ public void ResetActionState(int actionIndex, InputActionPhase toPhase = InputAc
873873
actionState->phase = toPhase;
874874
actionState->controlIndex = kInvalidIndex;
875875
var idx = memory.actionBindingIndicesAndCounts[actionIndex];
876-
var bindingCount = memory.actionBindingIndicesAndCounts[actionIndex] + 1;
877876
actionState->bindingIndex = memory.actionBindingIndices != null ? memory.actionBindingIndices[idx] : 0;
878877
actionState->interactionIndex = kInvalidIndex;
879878
actionState->startTime = 0;

0 commit comments

Comments
 (0)