TerrainImporter

Author: Warwick Allison (WarwickAllison)

Description
Imports a set of 16-bit RAW heightmaps and 8-bit RAW alphamaps to build TerrainData for a Terrain. See documentation in the script itself. It's similar to using the Import Heightmap - Raw menu option, except it keeps all the settings so that you can reimport whenever you change the input files.

Place the script in a folder named Editor in your project's Assets folder. Call it TerrainImporter.js.