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

参数

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

描述

将瓦片和游戏对象绘制到所选层中的给定位置。

The grid brush will paint tiles in its brush cells onto an associated tile map and clone any GameObjects onto the cells in the grid.