perf: regular events to custom events
This commit is contained in:
@@ -8,7 +8,7 @@ public interface IBehaviour : IEntity, IActive, IHasBehaviourController, IHasSta
|
||||
/// <summary>
|
||||
/// Event triggered when the priority of the <see cref="IBehaviour"/> changes.
|
||||
/// </summary>
|
||||
event PriorityChangedEventHandler? OnPriorityChanged;
|
||||
Event<IBehaviour, int> OnPriorityChanged { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The priority of the <see cref="IBehaviour"/>.
|
||||
|
||||
Reference in New Issue
Block a user