This version of Unity is unsupported.

UnityEventTools.RemovePersistentListener

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);

Parameters

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

Description

Removes the given function from the event.