Version: 2017.2
public void PaintPreview (GridLayout gridLayout, GameObject brushTarget, Vector3Int position);

参数

gridLayout Grid to paint data to.
brushTarget 绘制操作的目标。默认为当前选择的 GameObject。
position 要绘制数据的单元格的坐标。

描述

将预览数据绘制到给定单元格坐标的网格单元格中。

The grid brush will paint preview sprites in its brush cells onto an associated tile map. This will not instantiate objects associated with the painted tiles.