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

UnityEventTools.AddBoolPersistentListener

Declaration

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