BucketTile

BucketTile(Vector2Int, Tile, ushort, bool, bool)

public bool BucketTile(Vector2Int pos, Tile tile, ushort partsID, bool autoTiling, bool isCreateCellObject) ;

Description

Buckets the tile.

Parameters

Parameter Name Description
pos Position.
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 bucketed, falseotherwise.