Version: 2022.3

UnityEventTools.RegisterBoolPersistentListener

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

参数

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

描述

在指定索引处修改事件。