SetTile

SetTile(Tile, ushort, Vector2Int, bool, bool)

public bool SetTile(Tile tile, ushort partsID, Vector2Int tilePos, bool autoTiling, bool changeParts) ;

Description

Sets the tile.

Parameters

Parameter Name Description
tile Tile.
partsID Parts ID.
tilePos Tile Position
autoTiling If set to true auto tiling.
changeParts If set to true change parts.

Returns

true,if tile was put,falseotherwise.