文档

Unity Engine

Unity Engine

RemoveAllListeners()

Remove all non-persistent (ie created from script) listeners from the event.
阅读时间1 分钟最后更新于 2 个月前

Definition

public void RemoveAllListeners()

Remarks

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