SlothController.MoveRight C# (CSharp) Method

MoveRight() public method

Move Right Input was pressed
public MoveRight ( float holdTime ) : void
holdTime float
return void
    public void MoveRight(float holdTime) {
        if (_controlsDisabled || _ragdollToggle.ragdolled) return;
        if (_canMoveRight) {
            StartCoroutine(StartCooldownMoveRight());
            StartCoroutine(MoveSloth(true, holdTime));
        }
    }