Skip to main content

Class AddLateEvent<T0, T1>

Version of with 2 arguments Create a non-generic class inheriting from this to use in inspector. Same rules as

Inheritance
System.Object
Mirage.Events.AddLateEventBase
Inherited Members
Show

Mirage.Events.AddLateEventBase.HasInvoked

Mirage.Events.AddLateEventBase.MarkInvoked()

Mirage.Events.AddLateEventBase.Reset()

Syntax
[Serializable]
public class AddLateEvent<T0, T1> : AddLateEventBase, IAddLateEvent<T0, T1>
Type Parameters
NameDescription
T0
T1

Fields

_arg0

Declaration
protected T0 _arg0

_arg1

Declaration
protected T1 _arg1

Methods

AddListener(Action<T0, T1>)

Declaration
public void AddListener(Action<T0, T1> handler)
Parameters
TypeNameDescription
System.Action<T0, T1>handler

RemoveListener(Action<T0, T1>)

Declaration
public void RemoveListener(Action<T0, T1> handler)
Parameters
TypeNameDescription
System.Action<T0, T1>handler

Invoke(T0, T1)

Declaration
public virtual void Invoke(T0 arg0, T1 arg1)
Parameters
TypeNameDescription
T0arg0
T1arg1