unity-editor

Prefab Mode only Adjusts one game object until the others are manually selected in hierarchy window

本小妞迷上赌 提交于 2019-11-29 17:44:31
I created a bezier curve with the code below and made a prefab of the bezier curve. I added a few copies of the prefab to my scene. When I open the original prefab in prefab mode (I am using Unity 2019.1.0a8 ) and adjust any of the points it only affects one of the prefabs, the changes are not recognised in the scene view till I select the other objects manually. Please note that each of the prefab copies is rotated to an angle different from the original prefab. Before I rotate the copies they all update normally but once I rotate them, only the one copy that isn't rotated is updated. I added

how to clone several game objects in a way that clone properties of one can be adjusted to match all others in scene view

試著忘記壹切 提交于 2019-11-28 13:18:41
I asked How can I adjust shape/dimensions of one clone to affect all other clones in the scene view and the accepted answer was spot on. It could only clone one game object. I tried making some adjustments but the only solution I came up with was adding duplicate methods for additional objects. This doesn't work well when dealing with several game objects to be cloned. How can I clone several unique game objects so that adjusting the components/properties of one clone would affect all other clones of that object in the scene view? Please note that I don't want to achieve this at runtime and I