docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Create a custom Terrain tool

    Terrain Tools is a package that supplements the built-in Terrain and Editor Tools API. You can use it to create and develop your own custom tools for Terrain.

    To create your own Terrain Tool, you only need one script. After you create the script, your tool appears in the list of available Paint Terrain tools in the Inspector.

    Additionally, if you want to override an existing tool, look up the string value that the built-in tool's GetName() method returns, and make sure your tool has the same name.

    • Create your tool script
    • Add UI for Brush controls
    • Modify the Terrain heightmap
    • Custom Terrain Tool shaders
    • Filter Stacks, Filters, and procedural masks
    • Shortcut handlers
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)