Documentation

Unity Engine

Unity Engine

RemoveListener(UnityAction)

Remove a non persistent listener from the UnityEvent. If you have added the same listener multiple times, this method will remove all occurrences of it.
Read time 1 minuteLast updated 2 months ago

Definition

public void RemoveListener(UnityAction call)

Parameters

Callback function.

Remarks

Use this to remove a runtime callback.