Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

UnityEventTools.AddFloatPersistentListener

Declaration

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.