本文主要是介绍【Unity3D】【UI】Cannot restructure Prefab instance.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
触发原因未知,猜测是策划把别的预设A挪了一个改了个名字成了预设B。想要改动预设B中的组件产生了一下报错。
Cannot restructure Prefab instance.
Children of a Prefab instance cannot be deleted or moved,and components cannot be reordered.
You can open the Prefab in Prefab Mode to restructure the Prefab Asset itself,or unpack the Prefab instance to remove its Prefab connection.
处理方案:
解除预制体关系Unpack Prefab/Unpack Prefab Completely,然后修改好预设以后,重新创建一下。
这篇关于【Unity3D】【UI】Cannot restructure Prefab instance.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!