Example #1
0
    private void Update()
    {
        if (!_playerNearby)
        {
            return;
        }

        if (_playerInput.EPressed)
        {
            currentPresses++;
            if (currentPresses == numPressesToPull)
            {
                _wiggler.Pull();
            }
        }
    }