docs.unity.cn
    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
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Monday, February 13, 2023
    Terms of use