Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Save and reuse a tile selection with Brush Picks

Save a tile or group of tiles with its brush settings as a Brush Pick, then select it from the overlay to paint with.
Read time 2 minutesLast updated 24 days ago

Save a tile or group of tiles with its brush settings so you can reuse it. Each saved selection is called a Brush Pick.
Follow these steps:
  1. Enable the Tile Palette Brush Pick overlay button (

    Tile Palette Brush Pick

    ) to open the Tile Palette Brush Pick overlay.
    Note
    You might need to expand the Scene view to display the whole of the overlay. If you haven't saved any Brush Picks yet, the overlay displays a set of instructions.
  2. Select the Pick tool in the toolbar, or its shortcut key I.
  3. Select a tile from the tile palette or the Scene view, or multiple tiles.
  4. Adjust the brush settings in the Brush Inspector if you need to. For more information, refer to Brush Inspector reference.
  5. In the Tile Palette Brush Pick overlay, select Save (Save As).
The tile selection and its brush settings are now saved as a Brush Pick. Select the Brush Pick thumbnail from the overlay to paint with the Brush Pick.

Edit a Brush Pick

To edit a Brush Pick, first disable the Hide Brush Picks on Pick () button, to prevent the overlay closing when you select a Brush Pick.
Then do either of the following:
  • To rename a Brush Pick, double-click its name.
  • To delete a Brush Pick, select it then press Delete (macOS: Backspace).

Move Brush Picks into source control

By default, Unity saves Brush Pick assets in the
Library
folder of your project, which usually isn't included in source control. To select a different location, refer to Tile palette preferences reference.

Customize the thumbnail of a Brush Pick

To customize how a Brush Pick appears in the Tile Palette Brush Pick overlay, use one of the following methods:
  • To customize the thumbnail, implement the
    RenderStaticPreview
    method for the
    Editor
    of the Brush Pick.
  • To customize the icon in the bottom-right, change the
    icon
    property of the scriptable brush. You can't customize the icon of a tile that uses Default Brush.
Unity displays a warning if it can't find the scriptable brush for a Brush Pick, for example if you change or remove the script the brush uses.

Additional resources