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.AddVoidPersistentListener

Switch to Manual
public static function AddVoidPersistentListener(unityEvent: Events.UnityEventBase, call: Events.UnityAction): void;

Parameters

unityEventEvent to modify.
callFunction to call.

Description

Adds a persistent, preset call to the listener.