RB.SoundVolumeSet
Method - Static
public static void SoundVolumeSet(SoundReference soundReference, float volume)
|
Parameters
soundReference
|
SoundReference
|
Sound reference
|
volume
|
float
|
Volume to play at where 0 is silent, 1 is the original clip volume, and values greater than 1 indicate amplification beyond the recorded volume. Defaults to 1
|
Returns
Nothing.
Description
Set the volume of a currently playing sound with its SoundReference.
Example
See Also
AudioAsset
RB.SoundPlay
RB.SoundStop
RB.SoundIsPlaying
RB.SoundPitchSet
RB.SoundVolumeGet
RB.SoundPitchGet
RB.SoundLoopSet
See Docs
Features - Sound
|