Version: 2017.3

UnityEventTools.RemovePersistentListener

Cambiar al Manual
public static void RemovePersistentListener (Events.UnityEventBase unityEvent, int index);
public static void RemovePersistentListener (Events.UnityEventBase unityEvent, Events.UnityAction call);
public static void RemovePersistentListener (Events.UnityEventBase unityEvent, Events.UnityAction_1 call);
public static void RemovePersistentListener (Events.UnityEventBase unityEvent, Events.UnityAction_2 call);
public static void RemovePersistentListener (Events.UnityEventBase unityEvent, Events.UnityAction_3 call);
public static void RemovePersistentListener (Events.UnityEventBase unityEvent, Events.UnityAction_4 call);

Parámetros

unityEvent Event to modify.
index Index to remove (if specified).
call Function to remove (if specified).

Descripción

Removes the given function from the event.