Class AddLateEventUnity<T0, T1, TEvent>
Version of with 2 arguments Create a non-generic class inheriting from this to use in inspector. Same rules as
Inherited Members
Show
Mirage.Events.AddLateEvent<T0, T1>._arg0
Mirage.Events.AddLateEvent<T0, T1>._arg1
Mirage.Events.AddLateEvent<T0, T1>.AddListener(System.Action<T0, T1>)
Mirage.Events.AddLateEvent<T0, T1>.RemoveListener(System.Action<T0, T1>)
Mirage.Events.AddLateEvent<T0, T1>.Invoke(T0, T1)
Mirage.Events.AddLateEventBase.HasInvoked
Mirage.Events.AddLateEventBase.MarkInvoked()
Mirage.Events.AddLateEventBase.Reset()
Syntax
[Serializable]
public abstract class AddLateEventUnity<T0, T1, TEvent> : AddLateEvent<T0, T1>, IAddLateEventUnity<T0, T1>, IAddLateEvent<T0, T1> where TEvent : UnityEvent<T0, T1>, new()
Type Parameters
Name | Description |
---|---|
T0 | |
T1 | |
TEvent |
Methods
AddListener(UnityAction<T0, T1>)
Declaration
public void AddListener(UnityAction<T0, T1> handler)
Parameters
Type | Name | Description |
---|---|---|
UnityAction<T0, T1> | handler |
RemoveListener(UnityAction<T0, T1>)
Declaration
public void RemoveListener(UnityAction<T0, T1> handler)
Parameters
Type | Name | Description |
---|---|---|
UnityAction<T0, T1> | handler |
Invoke(T0, T1)
Declaration
public override void Invoke(T0 arg0, T1 arg1)
Parameters
Type | Name | Description |
---|---|---|
T0 | arg0 | |
T1 | arg1 |
RemoveAllListeners()
Remove all non-persisent (ie created from script) listeners from the event.
Declaration
public void RemoveAllListeners()