This version of Unity is unsupported.

UnityEventBase.RemoveAllListeners

Declaration

public void RemoveAllListeners();

Description

Remove all non-persisent (ie created from script) listeners from the event.

All persistent (ie created via inspector) listeners are not affected.