ドキュメント

Unity Engine


Unity Engine


AddPersistentListener

Adds a persistent call to the listener. Will be invoked with the arguments as defined by the Event and sent from the call location.
読み終わるまでの所要時間 2 分最終更新 1ヶ月前

Definition

AddPersistentListener(UnityEventBase)

Adds a persistent call to the listener. Will be invoked with the arguments as defined by the Event and sent from the call location.
public static void AddPersistentListener(UnityEventBase unityEvent)

Parameters

unityEvent

Event to modify.

AddPersistentListener(UnityEvent, UnityAction)

Adds a persistent call to the listener. Will be invoked with the arguments as defined by the Event and sent from the call location.
public static void AddPersistentListener(UnityEvent unityEvent, UnityAction call)

Parameters

unityEvent

Event to modify.

Function to call.

AddPersistentListener<T>(UnityEvent<T>, UnityAction<T>)

Adds a persistent call to the listener. Will be invoked with the arguments as defined by the Event and sent from the call location.
public static void AddPersistentListener<T0>(UnityEvent<T0> unityEvent, UnityAction<T0> call)

Parameters

unityEvent

Event to modify.

Function to call.

AddPersistentListener<T, U>(UnityEvent<T, T>, UnityAction<T, T>)

Adds a persistent call to the listener. Will be invoked with the arguments as defined by the Event and sent from the call location.
public static void AddPersistentListener<T0, T1>(UnityEvent<T0, T1> unityEvent, UnityAction<T0, T1> call)

Parameters

Event to modify.

Function to call.

AddPersistentListener<T, U, V>(UnityEvent<T, T, T>, UnityAction<T, T, T>)

Adds a persistent call to the listener. Will be invoked with the arguments as defined by the Event and sent from the call location.
public static void AddPersistentListener<T0, T1, T2>(UnityEvent<T0, T1, T2> unityEvent, UnityAction<T0, T1, T2> call)

Parameters

Event to modify.

Function to call.

AddPersistentListener<T, U, V, W>(UnityEvent<T, T, T, T>, UnityAction<T, T, T, T>)

Adds a persistent call to the listener. Will be invoked with the arguments as defined by the Event and sent from the call location.
public static void AddPersistentListener<T0, T1, T2, T3>(UnityEvent<T0, T1, T2, T3> unityEvent, UnityAction<T0, T1, T2, T3> call)

Parameters

Event to modify.

Function to call.