public virtual void UpdateTransientSharpness(float newSharpness) { TransientSharpness = newSharpness; TransientSharpnessText.text = NiceVibrationsDemoHelpers.Round(newSharpness, 2).ToString(); SharpnessProgressBar.UpdateBar(TransientSharpness, 0f, 1f); TargetCurve.UpdateCurve(TransientIntensity, TransientSharpness); }
public virtual void UpdateContinuousIntensity(float newIntensity) { ContinuousIntensity = newIntensity; IntensityProgressBar.UpdateBar(ContinuousIntensity, 0f, 1f); ContinuousIntensityText.text = NiceVibrationsDemoHelpers.Round(newIntensity, 2).ToString(); UpdateContinuous(); }
public virtual void UpdateContinuousSharpness(float newSharpness) { ContinuousSharpness = newSharpness; SharpnessProgressBar.UpdateBar(ContinuousSharpness, 0f, 1f); ContinuousSharpnessText.text = NiceVibrationsDemoHelpers.Round(newSharpness, 2).ToString(); UpdateContinuous(); }
public virtual void UpdateContinuousDuration(float newDuration) { ContinuousDuration = newDuration; DurationProgressBar.UpdateBar(ContinuousDuration, 0f, 5f); ContinuousDurationText.text = NiceVibrationsDemoHelpers.Round(newDuration, 2).ToString(); }