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
- Type: Method
- Namespace: UnityEditor.Events
- Assembly: UnityEditor.CoreModule
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
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
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
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
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
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)