I'm new to Unity, but not to programming. I'm just browsing over the API, and can't find the necessary calls to do what I want.
Basically, I want to create a new TerrainData object, set heights, and then set texture, and lightmap (all of which I'm ok on). Here's the thing, I want to do this without creating a terrain object, and want to save the TerrainData object to the Project folder.
Basically, I'm gonna plough through a batch of terrain tiles, and create a TerrainData object for each, then save all these somewhere in the Project folder (preferably the Resources folder).
Any ideas anyone?