UnityEventTools.AddFloatPersistentListener
public static void AddFloatPersistentListener(Events.UnityEventBase unityEvent,
UnityAction<float> call,
float argument);
Parameters
| unityEvent | Event to modify. | |
| call | Function to call. | |
| argument | Argument to use when invoking. |
Description 描述
Adds a persistent, preset call to the listener.