⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

UI.PlaySoundOn

static void PlaySoundOn(UIVisual elementVisual, Vec3 atLocal)

This will play the ‘on’ sound associated with the given UIVisual at the world position.

   
UIVisual elementVisual The UIVisual to pull sound information from.
Vec3 atLocal The hierarchy local location where the sound will play.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!