当脚本想要Instantiate一个预制物体时,如果没有继承MonoBehaviour,只要改成GameObject.Instantiate就可以了
(二十一)Instantiate小笔记
最新推荐文章于 2021-07-26 16:21:59 发布
当脚本想要Instantiate一个预制物体时,如果没有继承MonoBehaviour,只要改成GameObject.Instantiate就可以了