FillTile

FillTile(Vector2Int, int, int, Tile, ushort, bool, bool)

public bool FillTile(Vector2Int pos, int width, int height, Tile tile, ushort partsID, bool autoTiling, bool isCreateCellObject) ;

Description

Fills the tile.

Parameters

Parameter Name Description
pos Position.
width Width.
height Height.
tile Tile.
partsID Parts ID.
autoTiling If set to true auto tiling.
isCreateCellObject Whether you want to create a CellObject

Returns

true,if tile was filled, falseotherwise.