Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

UnityEvent.RemoveListener

Switch to Manual
public function RemoveListener(call: Events.UnityAction): void;

Parameters

callCallback function.

Description

Remove a non persistent listener from the UnityEvent.

Use this to remove a runtime callback.