Search Unity

Bug "All built-in Terrain Tools can now be overridden"

Discussion in 'World Building' started by Rowlan, Jul 27, 2022.

  1. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,294
  2. wyattt_

    wyattt_

    Unity Technologies

    Joined:
    May 9, 2018
    Posts:
    424
    Hey. Maybe we need to update the docs for this. The way you override is not the C# override but more like a replacement. This is how we developed the Terrain Tools package. If you make a tool that has the same name/path from GetName() in the TerrainPaintTool definition, then it will take precedence over any of the built-in tools with the same name/path, forcing those built-in tools to not be surfaced in the UI.
     
  3. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,294
    Ah, then it's just replacement. I had hopes one could subclass them and eg modify the strength and use pen pressure.