SlothController.MoveRight C# (CSharp) Méthode

MoveRight() public méthode

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