Class AddLateEventUnity
An event that will invoke handlers immediately if they are added after has been called
Inherited Members
Show
Mirage.Events.AddLateEventBase.HasInvoked
Mirage.Events.AddLateEventBase.MarkInvoked()
Mirage.Events.AddLateEventBase.Reset()
Syntax
[Serializable]
public sealed class AddLateEventUnity : AddLateEvent, IAddLateEventUnity, IAddLateEvent
Methods
AddListener(UnityAction)
Declaration
public void AddListener(UnityAction handler)
Parameters
Type | Name | Description |
---|---|---|
UnityAction | handler |
RemoveListener(UnityAction)
Declaration
public void RemoveListener(UnityAction handler)
Parameters
Type | Name | Description |
---|---|---|
UnityAction | handler |
Invoke()
Declaration
public override void Invoke()
RemoveAllListeners()
Remove all non-persisent (ie created from script) listeners from the event.
Declaration
public void RemoveAllListeners()