Export Geometry in runtime?


i need to somehow export geometry of a (really simple) unity3d scene in Realtime.
Is there any way to get this functionality?

So i right now users can interact with the geometry (build a simple city). What i need now is, that users can export the whole scene by clicking a button.

Any help would be awesome!!

Thanks a lot,


You will need to use the Mesh API to get access to the geometry, and then export this data in whichever format you need. There is no “export models” feature in Unity, so you will need to write this for yourself.