ExportTerrain doesn't work

Hi, I would like to export my terrain, and I used the script at http://www.unifycommunity.com/wiki/index.php?title=TerrainObjExporter.

But it doesn’t work! I made a map Editor, created the script ExportTerrain.js and put it inside the map. Why is it not working?

1 Answer

1

I didn’t write this script, but it works as an editor extension, not as a component! You need to have it saved to a FOLDER called “Editor” - the terrain object can be called anything.

When the script compiles Unity should then add a “Terrain → Export to Obj.” option to the menu bar (up top, with “File, Edit, View”, etc.). Click that and you should be good to go.