Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

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

UnityEvent.AddListener

public void AddListener(Events.UnityAction call);

Parameters

call Callback function.

Description

Add a non persistent listener to the UnityEvent.

Use this to add a runtime callback.

Did you find this page useful? Please give it a rating: