Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


InsertCells

Inserts cells into the Tilemap.
Read time 1 minuteLast updated 5 days ago

Definition

InsertCells(Vector3Int, Vector3Int)

Inserts cells into the Tilemap.
public void InsertCells(Vector3Int position, Vector3Int insertCells)

Parameters

position

The target position to insert at.

insertCells

The number of columns, rows or layers of cells to insert.

InsertCells(Vector3Int, int, int, int)

Inserts cells into the Tilemap.
public void InsertCells(Vector3Int position, int numColumns, int numRows, int numLayers)

Parameters

position

The target position to insert at.

numColumns

The number of columns to insert.

numRows

The number of rows to insert.

numLayers

The number of layers of cells to insert.