refactor: delegate names updated to have no "On" prefix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user