Version: 2017.3

UnityEventBase.RemoveAllListeners

Switch to Manual
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.