- Home /
Import a Unity file into the current open Unity file.
I'm looking to place the FirstPersonSetup.unity file into another Unity project file. Currently I have a scene with all objects and environment. It has everything, except for game controllers, which I'll need once the game is placed on the iPhone.
Is it possible to import FirstPersonSetup.unity file from the Standard Assets (Mobile) folder into another Unity file, merging the two unity files as one? With the FirstPersonSetup.unity settings as is once imported?
Or is it possible to import objects with settings from another Unity file into a different Unity scene?
Thank you
Answer by DaveA · May 16, 2011 at 03:37 AM
Yes you can do it.
If the source and destination of the game object(s) are in the same project, simply select them, hit Copy (Ctrl-C), then switch to the other scene, and Paste (Ctrl-V)
If the source is in one project and the destination is in another project, copy the game object(s) (as above) to a new empty scene. Save that scene, then select it in the Project list, right-click and Export as a package. Open your other project, import that project (from the Assets menu). This will bring that scene into that project. Now you can copy/paste from that new scene into the final destination scene.
Thanks this worked! Can someone add tags for '$$anonymous$$erging Scenes', 'Combine Scenes' Some others posted scripts that can do this but not as cleanly. All the dependencies such as objects assigned to scripts and and non-prefab object's editor values stay intact. Unity should include this in their manual as this saves a lot of pain when multiple people work on the same project. It makes it easy to merge, for example, an artist's or designer's scene file objects into a programmer's existing project. Very Useful!
Answer by cortex · May 16, 2011 at 03:47 AM
Hi, Could you explain how I could import a Unity file into the current open Unity file? Or is there a tutorial online?
Thank you
You should use 'comment' rather than 'answer' if you're commenting on an answer.
Your answer
![](https://koobas.hobune.stream/wayback/20220613134341im_/https://answers.unity.com/themes/thub/images/avi.jpg)