Skip to content

Commit bb4e745

Browse files
Add another batch of whitespace fixing.
1 parent e4f0290 commit bb4e745

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,7 @@ private void ProcessControlStateChange(int mapIndex, int controlIndex, int bindi
15701570
// (e.g. when an input of previously greater magnitude has now fallen below the level of another
15711571
// ongoing input with now higher magnitude).
15721572
var isConflictingInput = IsConflictingInput(ref trigger, actionIndex);
1573-
bindingStatePtr = &bindingStates[trigger.bindingIndex]; // IsConflictingInput may switch us to a different binding.
1573+
bindingStatePtr = &bindingStates[trigger.bindingIndex]; // IsConflictingInput may switch us to a different binding.
15741574

15751575
// Process button presses/releases.
15761576
if (!isConflictingInput)
@@ -2296,7 +2296,7 @@ internal void ChangePhaseOfInteraction(InputActionPhase newPhase, ref TriggerSta
22962296
interactionState.performedTime = trigger.time;
22972297

22982298
// See if it affects the phase of an associated action.
2299-
var actionIndex = bindingStates[bindingIndex].actionIndex; // We already had to tap this array and entry in ProcessControlStateChange.
2299+
var actionIndex = bindingStates[bindingIndex].actionIndex; // We already had to tap this array and entry in ProcessControlStateChange.
23002300
if (actionIndex != kInvalidIndex)
23012301
{
23022302
if (actionStates[actionIndex].phase == InputActionPhase.Waiting)
@@ -3234,7 +3234,7 @@ internal object ReadValueAsObject(int bindingIndex, int controlIndex, bool ignor
32343234

32353235
// If the binding that triggered the action is part of a composite, let
32363236
// the composite determine the value we return.
3237-
if (!ignoreComposites && bindingStates[bindingIndex].isPartOfComposite) ////TODO: instead, just have compositeOrCompositeBindingIndex be invalid
3237+
if (!ignoreComposites && bindingStates[bindingIndex].isPartOfComposite) ////TODO: instead, just have compositeOrCompositeBindingIndex be invalid
32383238
{
32393239
var compositeBindingIndex = bindingStates[bindingIndex].compositeOrCompositeBindingIndex;
32403240
Debug.Assert(compositeBindingIndex >= 0 && compositeBindingIndex < totalBindingCount, "Binding index is out of range");

0 commit comments

Comments
 (0)