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

UnityEventTools.AddIntPersistentListener

Declaration

public static void AddIntPersistentListener(Events.UnityEventBase unityEvent, UnityAction<int> call, int 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.