UnityEventTools.RegisterIntPersistentListener

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

Parameters

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

Description 描述

Modifies the event at the given index.