报错“Not allowed to access vertices on mesh”。

原因是未允许对预制体的读写,点击预制体,在此处勾选即可。

更多推荐

Unity报错“Not allowed to access vertices on mesh”