RemoveAllListeners()
Remove all non-persistent (ie created from script) listeners from the event.
Read time 1 minuteLast updated a month ago
Definition
- Type: Method
- Namespace: UnityEngine.Events
- Assembly: UnityEngine.CoreModule
public void RemoveAllListeners()
Remarks
All persistent (ie created via inspector) listeners are not affected.