Example #1
0
    private void RopeInteraction()
    {
        if (_joyManager.CheckButton(JoystickButton.BUMPER_L, Input.GetButton))
        {
            Rope.ChangeRopeLength(-Ropifcator * Time.fixedDeltaTime);
        }

        if (_joyManager.CheckButton(JoystickButton.BUMPER_R, Input.GetButton))
        {
            Rope.ChangeRopeLength(Ropifcator * Time.fixedDeltaTime);
        }
    }