CreateTerrainBaseboards

Author: Max70.

Description
This editor script creates a baseboards for a selected terrain inside the editor.

Usage
Place this script as "CreateTerrainBaseboards.cs" in YourProject/Assets/Editor and a menu item will automatically appear in the "Terrain/Create Terrain baseboards" menu after it is compiled.

Detail define the density of the mesh created. The created mesh density is proportional to 'TerainSize/detail'.

Global H is the overall height of the baseboards created.

Select Color is the color of material created.

UVFactor is a parameter for setting the repetition of the texture.

Select Texture is a texture chosen for the material created applied to the baseboards.

It will create four mesh asset, child of selected terrain.