This version of Unity is unsupported.

UnityEvent.RemoveListener

Declaration

public void RemoveListener(Events.UnityAction call);

Parameters

call Callback function.

Description

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.

Use this to remove a runtime callback.