1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 09:27:34 +08:00

Add mention of return type for Duck method

This commit is contained in:
Dean Herbert 2024-07-05 15:11:11 +09:00
parent 31ed0d219a
commit 20ba6ca867
No known key found for this signature in database

View File

@ -262,6 +262,7 @@ namespace osu.Game.Overlays
/// <summary>
/// Attenuates the volume and/or filters the currently playing track.
/// </summary>
/// <returns>A <see cref="IDisposable"/> which will restore the duck operation when disposed, or <c>null</c> if another duck operation was already in progress.</returns>
public IDisposable? Duck(DuckParameters? parameters = null)
{
parameters ??= new DuckParameters();