UnityEventBase.RemoveAllListeners

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.

Did you find this page useful? Please give it a rating: