1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-05 15:23:11 +08:00

Clarify & cleanup comments some

This commit is contained in:
Bartłomiej Dach 2021-01-03 13:30:21 +01:00
parent a3e29b9154
commit 9e4a925ab1

View File

@ -145,10 +145,13 @@ namespace osu.Game.Rulesets.Mods
} }
/// <summary> /// <summary>
/// When creating copies or clones of a Mod, this method will be called to copy explicitly adjusted user settings. /// When creating copies or clones of a Mod, this method will be called
/// The base implementation will transfer the value via <see cref="Bindable{T}.Parse"/> and should be called unless replaced with custom logic. /// to copy explicitly adjusted user settings from <paramref name="target"/>.
/// The base implementation will transfer the value via <see cref="Bindable{T}.Parse"/>
/// or by binding and unbinding (if <paramref name="source"/> is an <see cref="IBindable"/>)
/// and should be called unless replaced with custom logic.
/// </summary> /// </summary>
/// <param name="target">The target bindable to apply the adjustment.</param> /// <param name="target">The target bindable to apply the adjustment to.</param>
/// <param name="source">The adjustment to apply.</param> /// <param name="source">The adjustment to apply.</param>
internal virtual void CopyAdjustedSetting(IBindable target, object source) internal virtual void CopyAdjustedSetting(IBindable target, object source)
{ {