Version: 2017.4
GridBrushEditorBase
Ejemplo de un Scriptable Brush

Other useful classes

GridBrushBase.Tool

Select = 0 - Tool for Selection for a GridBrush

Move = 1- Tool for Moving for a GridBrush

Paint = 2 - Tool for Painting for a GridBrush

Box = 3 - Tool for Boxfill for a GridBrush

Pick = 4 - Tool for Picking for a GridBrush

Erase = 5 - Tool for Erasing for a GridBrush

Floodfill = 6 - Tool for Floodfill for a GridBrush

GridBrushBase.RotationDirection

Clockwise = 0 - Clockwise rotation direction. Use this when rotating a Brush.

CounterClockwise = 1 - Counter clockwise rotation direction. Use this when rotating a Brush.

GridBrushBase.FlipAxis

X = 0 - Flips along the X Axis. Use this when flipping a Brush.

Y = 1 - Flips along the Y Axis. Use this when flipping a Brush.


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