Skip to main content

Class AddLateEventUnity

An event that will invoke handlers immediately if they are added after has been called

Inheritance
System.Object
Mirage.Events.AddLateEventBase
Mirage.Events.AddLateEvent
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
TypeNameDescription
UnityActionhandler

RemoveListener(UnityAction)

Declaration
public void RemoveListener(UnityAction handler)
Parameters
TypeNameDescription
UnityActionhandler

Invoke()

Declaration
public override void Invoke()

RemoveAllListeners()

Remove all non-persisent (ie created from script) listeners from the event.

Declaration
public void RemoveAllListeners()