Question by
ssk090 · Oct 14, 2015 at 09:23 AM ·
javascriptgameobjectdontdestroyonload
Copying or duplicating a gameObject from one scene to another
I wanted to copy an object "A" from Scene 1 to Scene 2 such that if a make any changes in the object properties(Eg. SpriteRenderer) in any of the scenes, it effects the other copy from the other scene as well. I am a newbie please help me, i am totally stuck here since 2 weeks.
Thank You
Comment
Answer by dudester · Oct 14, 2015 at 04:39 PM
These are called prefabs , simply drag the gameobject into the file inspector , then drag that prefab into the other scene , then if you make changes to the file simply click apply prefab , for more info watch this https://unity3d.com/learn/tutorials/modules/beginner/editor/prefabs-concept-usage