unity-terrain

Automate Unity Terrain creation, height setting, texture painting, and tree placement.

8|1|Updated Oct 7, 2025
One-click install
npx skills add https://github.com/Zzulin/unity-project01 --skill unity-terrain-zzulin
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-terrain
Source: https://github.com/Zzulin/unity-project01/tree/main/URP1/Plugins/Unity-Skills-main/SkillsForUnity/unity-skills~/skills/terrain
Command: npx skills add https://github.com/Zzulin/unity-project01 --skill unity-terrain-zzulin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity terrains can be manually created and modified with many steps; this Skill provides programmatic tools to automate creation, height adjustment, texturing, and vegetation.

Core Features & Use Cases

  • terrain_create: Create a new Terrain with TerrainData
  • terrain_set_height / terrain_set_heights_batch: Set heights individually or in batches
  • terrain_paint_texture: Paint texture layers on terrain
  • terrain_add_hill / terrain_generate_perlin: Generate hills, Perlin noise-based terrain
  • terrain_smooth / terrain_flatten: Smooth and flatten regions

Quick Start

Create a new Terrain, then adjust height, paint textures, and add trees as needed.

Frequently Asked Questions about unity-terrain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Unity terrain creation instead of sculpting manually?▼

You can automate Unity terrain creation programmatically using terrain_create to generate a new Terrain with TerrainData, then apply batch height adjustments and texture painting to bypass manual sculpting steps.

Can I generate terrain heights using Perlin noise in Unity?▼

Yes, you can generate terrain heights using Perlin noise in Unity by calling terrain_generate_perlin, which programmatically creates natural-looking heightmap variations across your landscape.

What is the best way to paint textures on a Unity terrain via scripting?▼

The best way to paint textures on a Unity terrain via scripting is using the terrain_paint_texture action, which programmatically applies texture layers directly to the terrain surface.

How do I set terrain heights in batches to improve performance?▼

You can set terrain heights in batches to improve performance by using terrain_set_heights_batch, which processes multiple heightmap values simultaneously instead of adjusting them individually.

Does programmatic terrain management support smoothing and flattening regions?▼

Yes, programmatic terrain management supports smoothing and flattening regions using terrain_smooth and terrain_flatten actions, allowing you to refine heightmap geometry and level specific landscape areas.

When should I use batch height adjustments over individual height setting?▼

You should use batch height adjustments over individual height setting when modifying large Unity terrain areas, as terrain_set_heights_batch processes multiple heightmap values efficiently within a single workflow integration.