x


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

more ▼

asked May 16 '11 at 02:06 AM

cortex gravatar image

cortex
46 30 31 34

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

Yes you can do it.

  1. 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)

  2. 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.

more ▼

answered May 16 '11 at 03:37 AM

DaveA gravatar image

DaveA
26.8k 153 171 257

Thanks this worked! Can someone add tags for 'Merging 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!

Apr 05 at 07:14 AM jorjdboss
(comments are locked)
10|3000 characters needed characters left

Thanks it worked!

more ▼

answered May 16 '11 at 05:48 PM

cortex gravatar image

cortex
46 30 31 34

(comments are locked)
10|3000 characters needed characters left

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

more ▼

answered May 16 '11 at 03:47 AM

cortex gravatar image

cortex
46 30 31 34

You should use 'comment' rather than 'answer' if you're commenting on an answer.

May 16 '11 at 06:10 AM DaveA
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2013
x996
x14
x2

asked: May 16 '11 at 02:06 AM

Seen: 1470 times

Last Updated: Apr 05 at 07:14 AM