RemoveAllListeners()
Remove all non-persistent (ie created from script) listeners from the event.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Events
- Assembly: UnityEngine.CoreModule
public void RemoveAllListeners()
Remarks
All persistent (ie created via inspector) listeners are not affected.