/// <summary> /// Play the given clip. If 'duration' LT 0, then it will be length of clip. /// </summary> /// <param name="clip"></param> /// <param name="options"></param> public AudioID PlaySFX(AudioClip clip, AudioOptions options) => audioID = AudioManager.PlaySFX(clip, options);
public void PlaySound() { audioID = AudioManager.PlayBackgroundTrack( music, music.Options); }
public void PlaySFX(RichAudioClip clipRef) => audioID = AudioManager.PlaySFX( clipRef.AudioClip, clipRef.Options);
public void PlaySFX(AudioClip clip) => audioID = AudioManager.PlaySFX(clip);
public void PlaySFX() => audioID = AudioManager.PlaySFX(clip.AudioClip, clip.Options);
public AudioID PlayBackgroundTrack(AudioClip clip, AudioOptions options) => audioID = AudioManager.PlayBackgroundTrack(clip, options);
public AudioID PlayBackgroundTrack(AudioClip clip) => audioID = AudioManager.PlayBackgroundTrack(clip);