Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UnityEventTools.AddFloatPersistentListener

Switch to Manual
public static function AddFloatPersistentListener(unityEvent: Events.UnityEventBase, call: UnityAction<float>, argument: float): void;

Parameters

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

Description

Adds a persistent, preset call to the listener.