UnityEventTools.RegisterBoolPersistentListener

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

Parameters

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

Description 描述

Modifies the event at the given index.