UnityEventTools.RegisterObjectPersistentListener

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

参数

unityEvent要修改的事件。
index要修改的索引。
call要调用的函数。
argument调用时要使用的参数。

描述

在指定索引处修改事件。