Skip to content

Commit f8c977c

Browse files
committed
we don't need binding count here
1 parent 6502bcb commit f8c977c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

-1
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)