Version: 2023.2
言語: 日本語
Create a Brush Pick asset
タイルマップのペイント

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.

その他の参考資料

Create a Brush Pick asset
タイルマップのペイント
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961