Skip to content

Commit

Permalink
fix: new events should not be abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen committed Mar 25, 2024
1 parent a8051c4 commit e1072d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Mirage/Runtime/Events/AddLateEvent_new.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public virtual void Invoke()
/// <typeparam name="T0">argument 0</typeparam>
/// <typeparam name="TEvent">UnityEvent</typeparam>
[Serializable]
public abstract class AddLateEvent_new<T0> : AddLateEventBase, IAddLateEvent_new<T0>
public class AddLateEvent_new<T0> : AddLateEventBase, IAddLateEvent_new<T0>
{
private static readonly List<Action<T0>> tmp = new List<Action<T0>>();
private readonly List<Action<T0>> _listeners = new List<Action<T0>>();
Expand Down Expand Up @@ -152,7 +152,7 @@ public virtual void Invoke(T0 arg0)
/// <typeparam name="T0"></typeparam>
/// <typeparam name="T1"></typeparam>
[Serializable]
public abstract class AddLateEvent_new<T0, T1> : AddLateEventBase, IAddLateEvent_new<T0, T1>
public class AddLateEvent_new<T0, T1> : AddLateEventBase, IAddLateEvent_new<T0, T1>
{
private static readonly List<Action<T0, T1>> tmp = new List<Action<T0, T1>>();
private readonly List<Action<T0, T1>> _listeners = new List<Action<T0, T1>>();
Expand Down

0 comments on commit e1072d0

Please sign in to comment.