Nested prefabs : how to apply position changes on one sub prefab to all instances ?
I'm building a train station. I have a Station prefab, containing two "Lane" prefab instances, each Lane has 3 "Platform" prefabs and 2 "TrainMarker" prefab instances. These TrainMarkers will be used to set up trains at the right place. I had to modify their position because they were too close from the Platform, but when clicking "apply", the changes don't apply to the same TrainMarker instance other one Lane.
i.e : when I change the "Z" position param on "TrainMarker" for my "Lane 1" Lane instance and set it to 9, then click "Apply", the "TrainMarker" of "Lane 2" keeps at its position ..
What is the right way to do this ?
Thanks
Your answer
![](https://koobas.hobune.stream/wayback/20220612141106im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
[Solved] Instantiated objects spawn at diferrent x 1 Answer
How do I find out the current object I instantiated in the scene? 1 Answer
Problem with Seek Missile and finding enemy prefab new position. 0 Answers
Changing Values in Inspector Only Takes Effect After Playing the Scene Twice? 0 Answers
How to store a position that is moving to create a prefab to spawn at the exact position 1 Answer