Version: Unity 6 (6000.0)
Language : English
Work with Brush Picks
Brush Picks overlay reference

Customize a scriptable Brush’s thumbnail

Unity determines the preview image displayed in a Brush Pick’s thumbnail by the Asset Preview utility. To customize the thumbnail image of your scriptable brush, you will need to implement the RenderStaticPreview method for the editor of your scriptable brush.

The icon in the lower right of the thumbnail preview displays the Brush type of the Brush Pick. The icon is determined by the icon property of the editor for the Brush. Override this property to provide your own icon for your Brush type.

This message appears when a compatible Brush isnt present.
This message appears when a compatible Brush isn’t present.

Unity stores Brush Picks as serialized values based on the active Brush. If you change the script or remove your custom scriptable brush, Unity might not be able to load saved Brush Picks as the Brush has changed. A message appears if Unity isn’t able to find a compatible Brush for the Brush Pick.

Additional resources

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