startplayscrollclamped - eisclimber/ExPresS-XR GitHub Wiki
Method in UiAudio
Plays the scroll audio clip if the provided value is between 0.0f and 1.0f (inclusive).
This can be used to prevent playing the scrolling sound of scrollbars when scrolling a the ends and using elastic movement.
public void StartPlayScrollClamped(float value)| Name | Description |
|---|---|
float value |
Value to check if in range to play the sound. |