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