Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

Events.UnityEventTools.AddVoidPersistentListener

public static function AddVoidPersistentListener(unityEvent: UnityEventBase, call: UnityAction): void;

Parameters

unityEvent Event to modify.
call Function to call.

Description

Adds a persistent, preset call to the listener.