PutTile

PutTile(Vector2Int, Tile, ushort, Vector2Int, bool, bool, bool)

public bool PutTile(Vector2Int pos, Tile tile, ushort partsID, Vector2Int tilePos, bool autoTiling, bool changeParts, bool isCreateCellObject) ;

説明

Tile配置

パラメーター

パラメーター名 説明
pos 座標
tile Tile
partsID パーツID
tilePos Tileの位置
autoTiling trueを設定した場合オートタイル。
changeParts trueを設定した場合パーツ変更。
isCreateCellObject CellObjectを作成するかどうか

戻り値

true, 配置できた。falseそれ以外。