refactor: delegate names updated to have no "On" prefix

This commit is contained in:
2025-03-29 21:51:51 +03:00
parent 5c3e0f6581
commit f9785462b0
30 changed files with 118 additions and 118 deletions

View File

@@ -8,7 +8,7 @@ public interface IBehaviour : IEntity, IHasBehaviourController, IHasStateEnable
/// <summary>
/// Event triggered when the priority of the <see cref="IBehaviour"/> changes.
/// </summary>
event OnPriorityChangedEventHandler? OnPriorityChanged;
event PriorityChangedEventHandler? OnPriorityChanged;
/// <summary>
/// The priority of the <see cref="IBehaviour"/>.
@@ -20,5 +20,5 @@ public interface IBehaviour : IEntity, IHasBehaviourController, IHasStateEnable
/// </summary>
bool IsActive { get; }
delegate void OnPriorityChangedEventHandler(IBehaviour sender, int previousPriority);
delegate void PriorityChangedEventHandler(IBehaviour sender, int previousPriority);
}