Documentation

Unity Engine

Unity Engine

RemoveAllListeners()

Remove all non-persistent (ie created from script) listeners from the event.
Read time 1 minuteLast updated a month ago

Definition

public void RemoveAllListeners()

Remarks

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