UnityEventTools.RemovePersistentListener
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.