Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Replace the default brush for the Tilemap'

Discussion in '2D' started by vonchor, Nov 28, 2017.

  1. vonchor

    vonchor

    Joined:
    Jun 30, 2009
    Posts:
    249
    Sorry for the funky title - there seems to be no way to edit it.

    There's a parameter you can set in the CustomGridBrush attribute to set that brush as the default brush. The docs have the admonishment that you can't have more than one default brush.

    Fair enough but I can't get rid of the original default brush (it's not in a script that I can delete) so how does one create a different default brush? For example, one that shows the grid position all the time (like the coordinate brush example)?

    Workarounds are obvious - but why have the parameter be available if there's a non-deleteable default brush?

    Or am I being too crabby :)
     
  2. vonchor

    vonchor

    Joined:
    Jun 30, 2009
    Posts:
    249
    never mind, stupidly forgot the rule about looking at the docs before posting