The 2D Tilemap Extras package contains reusable 2D and Tilemap editor scripts which you can use for your own Projects, and as the basis for your own custom Brushes and Tiles. You can freely customize the behavior of the scripts to create new Brushes that suit different uses or scenarios. To find these additional Brushes, open the Tile Palette window (menu: Window > 2D > Tile Palette) and open the Brush drop-down menu near the bottom of the editor. Select from the available Brush options for different effects.
The source code for these scripts can be found in the repository 2d-extras, and examples of the implemented scripts can be found in the sister repository 2d-techdemos.
GameObject: This Brush instances, places and manipulates GameObjects onto the Scene. Use this as an example to create Brushes which targets GameObjects, other than Tiles, for instancing and manipulation.
Group: This Brush picks groups of Tiles based on their positions relative to each other. Adjust the size of groups the Brush picks by setting the Gap and Limit properties. Use this Brush as an example to create Brushes that pick Tiles based on specific criteria.
Line: This Brush draws a line of Tiles between two points onto a Tilemap. Use this as an example to modify Brush painting behavior to make painting more efficient.
Random: This Brush places random Tiles onto a Tilemap. Use this as an example to create Brushes which store specific data per Brush and to make Brushes which randomize behavior.
The following are the Scriptable Tiles included in this package. You can create (menu: Create > Tiles ) the following additional Tile types that are included with this package.