Add a mention that `OnApply/OnFree` is performed after `ApplyDefaults`

This commit is contained in:
Dean Herbert 2021-05-27 15:20:35 +09:00
parent f6dee13991
commit 122bb05aa8
1 changed files with 2 additions and 0 deletions

View File

@ -311,6 +311,7 @@ protected sealed override void OnFree(HitObjectLifetimeEntry entry)
/// <summary>
/// Invoked for this <see cref="DrawableHitObject"/> to take on any values from a newly-applied <see cref="HitObject"/>.
/// This is also fired after any changes which occurred via an <see cref="osu.Game.Rulesets.Objects.HitObject.ApplyDefaults"/> call.
/// </summary>
protected virtual void OnApply()
{
@ -318,6 +319,7 @@ protected virtual void OnApply()
/// <summary>
/// Invoked for this <see cref="DrawableHitObject"/> to revert any values previously taken on from the currently-applied <see cref="HitObject"/>.
/// This is also fired after any changes which occurred via an <see cref="osu.Game.Rulesets.Objects.HitObject.ApplyDefaults"/> call.
/// </summary>
protected virtual void OnFree()
{