perf: regular events to custom events
This commit is contained in:
@@ -10,12 +10,12 @@ public interface IBehaviourController : IEntity, IHasUniverseObject
|
||||
/// <summary>
|
||||
/// Event triggered when a <see cref="IBehaviour"/> is added to the <see cref="IBehaviourController"/>.
|
||||
/// </summary>
|
||||
event BehaviourAddedEventHandler? OnBehaviourAdded;
|
||||
Event<IBehaviourController, IBehaviour> OnBehaviourAdded { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Event triggered when a <see cref="IBehaviour"/> is removed from the <see cref="IBehaviourController"/>.
|
||||
/// </summary>
|
||||
event BehaviourRemovedEventHandler? OnBehaviourRemoved;
|
||||
Event<IBehaviourController, IBehaviour> OnBehaviourRemoved { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Amount of <see cref="IBehaviour"/> collected.
|
||||
|
||||
Reference in New Issue
Block a user