- Home /
Is there any way for attaching a hierarchy GameObject to a pregab Inspector?
Hi All,
I'm making a small game in that I want to attach some gameObjects from the hierarchy to the prefab inspector. In runtime I'm instantating that prefab as a building. In that building I need those objects to be attached in the inspector is it possible??. The hierarchy objects are not a prefab please help me with this.
Answer by AurimasBlazulionis · Dec 31, 2014 at 01:43 PM
Go and attach the object, then select the just select root gameObject(not child) and just above the place where the position, rotation and scale can be set, there should be prefab options: apply, revert and one more, maybe open. Click apply, so it adds the new game objects to the prefab.
Your answer

Follow this Question
Related Questions
Question about tags and variables 0 Answers
How read tag in the animator? 0 Answers
FindGameObjectWithTag failing 1 Answer
OnTriggerEnter Glitch 1 Answer
Tag list emptied!? 1 Answer