I have built a building in unity, with cubes, etcetera. Now I want to use it as a single object (since using it with so many objects makes it difficult to move it from the scripts). Is it possible to export this to fbx and then have it in assets?
Asked
Active
Viewed 4,063 times
2
-
depends .. do you mean GameObject(including attached components and configurations) or only the meshes (evtl including materials)? Anyway .. it sounds like simply making all those objects childs of one single empty gameObject already solves your problem .. than you only have to move that parent object instead. – derHugo Apr 11 '19 at 09:59
-
your last sentence was the key. Thank you – saulcasti Apr 11 '19 at 11:50
1 Answers
0
Not as fbx but yes and it's possible to have that item as prefab. If you want to have this building in your assets and use it whenever you want, just put all your shapes in an empty gameobject (to move it via just one container) and drag and drop that gameobject into your project window. Thus you'll have the prefab of that whole building mesh and you could reach it from editor or by script anytime you want.

mchts
- 316
- 2
- 6