Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

UnityEventTools.AddVoidPersistentListener

public static void AddVoidPersistentListener(Events.UnityEventBase unityEvent, Events.UnityAction call);

Parameters

unityEvent Event to modify.
call Function to call.

Description

Adds a persistent, preset call to the listener.