startplayscrollclamped - eisclimber/ExPresS-XR GitHub Wiki

UiAudio.StartPlayScrollClamped(float)

Method in UiAudio

Summary

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)

Parameters

Name Description
float value Value to check if in range to play the sound.
⚠️ **GitHub.com Fallback** ⚠️