Version: 2023.1
Using a Brush Pick
Customize a scriptable Brush's thumbnail

Create a Brush Pick asset

By default, Unity stores the Brush Picks data asset in the GridBrush folder located in the Library of your project. You can store this data directly in your project instead, which helps to keep it in source control and consistent with all users of your project.

To change the Brush Picks asset used by the project, go to Edit > Preferences… > 2D > Tile Palette, and select and edit the Brush Picks asset settings in the Brush Picks section of Tile Palette Preferences.

Create a new Brush Picks asset

To create a new Brush Picks asset: 1. Select New to create a new a Brush Picks asset for your project. Unity automatically sets this new asset as the active Brush Picks asset.

Clone an existing Brush Picks asset

To clone existing an existing Brush Pick asset: 1. Select Clone to create a new Brush Picks asset that copies the contents of the active Brush Picks asset. If no active Brush Picks asset is present, this clones the Brush Picks asset contained in the project’s Library\Gridbrush folder.

Important: Unity saves Brush Picks to the same location as the current active Brush Picks asset, or the Library folder if no active Brush Picks asset is set. This means that the names of the Brush Picks must not have the same name as another asset in the same location to prevent conflicts.

其他资源

Using a Brush Pick
Customize a scriptable Brush's thumbnail
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961