UnityEventBase.RemoveAllListeners

Declaration

public void RemoveAllListeners();

Description

Remove all non-persistent (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: