Métodos
📌 Tabla resumen
Método
Tipo
Descripción breve
📘 Descripción detallada
Sound Sound()
Sound Sound()Sound Sound(SFX sfx)
Sound Sound(SFX sfx)Sound Sound(string tag)
Sound Sound(string tag)Sound SetVolume(float volume)
Sound SetVolume(float volume)Sound SetHearDistance(float minHearDistance, float maxHearDistance)
Sound SetHearDistance(float minHearDistance, float maxHearDistance)Sound SetVolumeRolloffCurve(VolumeRolloffCurve curve)
Sound SetVolumeRolloffCurve(VolumeRolloffCurve curve)Sound SetCustomVolumeRolloffCurve(AnimationCurve customCurve)
Sound SetCustomVolumeRolloffCurve(AnimationCurve customCurve)void ChangeVolume(float newVolume, float lerpTime)
void ChangeVolume(float newVolume, float lerpTime)Sound SetPitch(float pitch)
Sound SetPitch(float pitch)Sound SetRandomPitch()
Sound SetRandomPitch()Sound SetRandomPitch(Vector2 pitchRange)
Sound SetRandomPitch(Vector2 pitchRange)Sound SetDopplerLevel(float dopplerLevel)
Sound SetDopplerLevel(float dopplerLevel)Sound SetId(string id)
Sound SetId(string id)Sound SetLoop(bool loop)
Sound SetLoop(bool loop)Sound SetClip(string tag)
Sound SetClip(string tag)Sound SetClip(SFX sfx)
Sound SetClip(SFX sfx)Sound SetRandomClip(bool random)
Sound SetRandomClip(bool random)Sound SetClipByIndex(int index)
Sound SetClipByIndex(int index)Sound SetPlayProbability(float probability)
Sound SetPlayProbability(float probability)Sound SetPosition(Vector3 position)
Sound SetPosition(Vector3 position)Sound SetFollowTarget(Transform followTarget)
Sound SetFollowTarget(Transform followTarget)Sound SetSpatialSound(bool activate)
Sound SetSpatialSound(bool activate)Sound SetFadeOut(float fadeOutTime)
Sound SetFadeOut(float fadeOutTime)Sound SetOutput(Output output)
Sound SetOutput(Output output)Sound OnPlay(Action onPlay)
Sound OnPlay(Action onPlay)Sound OnComplete(Action onComplete)
Sound OnComplete(Action onComplete)Sound OnLoopCycleComplete(Action onLoopCycleComplete)
Sound OnLoopCycleComplete(Action onLoopCycleComplete)Sound OnPause(Action onPause)
Sound OnPause(Action onPause)Sound OnPauseComplete(Action onPauseComplete)
Sound OnPauseComplete(Action onPauseComplete)Sound OnResume(Action onResume)
Sound OnResume(Action onResume)void Play(float fadeInTime)
void Play(float fadeInTime)void Pause(float fadeOutTime)
void Pause(float fadeOutTime)void Resume(float fadeInTime)
void Resume(float fadeInTime)void Stop(float fadeOutTime)
void Stop(float fadeOutTime)Last updated