Pokemon3D.Common.Input.InputSystem.ChangePressedDirection C# (CSharp) Method

ChangePressedDirection() private method

private ChangePressedDirection ( InputDirection newDirection ) : void
newDirection InputDirection
return void
        private void ChangePressedDirection(InputDirection newDirection)
        {
            if (newDirection != _lastPressedDirection)
            {
                _pressedDirectionDelay = FULL_PRESSED_DIRECTION_DELAY;
                _lastPressedDirection = newDirection;
            }
        }