/// <summary> /// Sets the music in a slot to the specified audio. /// </summary> /// <param name="clip">The music clip to play</param> /// <param name="slot">The slot to play music in</param> /// <param name="volume">The volume to play the music at (will be multiplied with global music volume)</param> /// <param name="loop">Whether to loop the music</param> /// <param name="retain">Whether to retain the music across scene loads</param> /// <remarks> /// <para>No longer effects playback state</para> /// </remarks> public void SetMusic(AudioClip clip, MusicSlot slot, float volume, bool loop, bool retain) => SetMusic(clip, clip.Ref()?.name, slot, volume, loop, retain);