UnityEventTools.RegisterObjectPersistentListener

public static void RegisterObjectPersistentListener(Events.UnityEventBase unityEvent, int index, UnityAction<T> call, T argument);

Parameters

unityEventEvent to modify.
indexIndex to modify.
callFunction to call.
argumentArgument to use when invoking.

Description 描述

Modifies the event at the given index.