Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Select Terrain Brush through code

Discussion in 'World Building' started by MaxRoetzler, Dec 9, 2022.

  1. MaxRoetzler


    Jan 3, 2010
    As the title says, is there any way to select a terrain brush through a custom editor window? We have a couple of custom brushes and don't care about the majority of the existing ones, so I'd like to be able to select / access them through a custom overlay (similar to Blender / ZBrush). But there doesn't seem to be a public API for it. (Terrain Tools v. 4, Unity 2021)

    Is there anything I'm missing or is using reflection the only option.