Class AddLateEvent<T0>
Version of with 1 argument Create a non-generic class inheriting from this to use in inspector. Same rules as
Inherited Members
Show
Mirage.Events.AddLateEventBase.HasInvoked
Mirage.Events.AddLateEventBase.MarkInvoked()
Mirage.Events.AddLateEventBase.Reset()
Syntax
[Serializable]
public class AddLateEvent<T0> : AddLateEventBase, IAddLateEvent<T0>
Type Parameters
| Name | Description | 
|---|---|
| T0 | argument 0 | 
Fields
_arg0
Declaration
protected T0 _arg0
Methods
AddListener(Action<T0>)
Declaration
public void AddListener(Action<T0> handler)
Parameters
| Type | Name | Description | 
|---|---|---|
| System.Action<T0> | handler | 
RemoveListener(Action<T0>)
Declaration
public void RemoveListener(Action<T0> handler)
Parameters
| Type | Name | Description | 
|---|---|---|
| System.Action<T0> | handler | 
Invoke(T0)
Declaration
public virtual void Invoke(T0 arg0)
Parameters
| Type | Name | Description | 
|---|---|---|
| T0 | arg0 | 
OnDestroyCleanup()
Clears listeners, should be called from OnDestroy
Declaration
public void OnDestroyCleanup()