UnityEventTools.RegisterBoolPersistentListener

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

参数

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

描述

在指定索引处修改事件。