UnityEventTools.AddBoolPersistentListener

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

Parameters

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

Description 描述

Adds a persistent, preset call to the listener.