Version: 2021.1

ObjectFactory.componentWasAdded

切换到手册

参数

value 要添加到调用列表的回调。

描述

每次使用 ObjectFactory 将新组件或 MonoBehaviour 添加到游戏对象时,都会调用此方法。