prefabs

来源:互联网 发布:手机机型修改软件 编辑:程序博客网 时间:2024/05/17 23:32

使用预制件更新场景中的instance 时 transform组建属性并不会被更新

但从实例中对prefabs 进行apply时 transform 会被更新


The Select button selects the prefab asset from which the instance was generated. This allows you to edit the main prefab and thereby change all its instances. However, you can also save overridden values from an instance back to the originating prefab using the Applybutton(modified Transform position and rotation values are excluded for obvious reasons). This effectively lets you edit all instances (except those which override the value changed) via any single instance and is a very quick and convenient way to make global changes. If you experiment with overriding properties but then decide you preferred the default values, you can use the Revert button to realign the instance with its prefab.