Class passed onto Tiles when information is queried from the Tiles.
cellBounds | Returns the boundaries of the Tilemap in cell size. |
localBounds | Returns the boundaries of the Tilemap in local space size. |
origin | The origin of the Tilemap in cell position. |
size | The size of the Tilemap in cells. |
GetColor | Gets the color of a Tile given the XYZ coordinates of a cell in the Tilemap. |
GetComponent | 如果瓦片地图的 GameObject 附加了一个类型 T 的组件,则将其返回,否则返回 null。 |
GetSprite | Gets the Sprite used in a Tile given the XYZ coordinates of a cell in the Tilemap. |
GetTile | Gets the Tile at the given XYZ coordinates of a cell in the|Tilemap. |
GetTileFlags | Gets the Tile Flags of the Tile at the given position. |
GetTransformMatrix | Gets the transform matrix of a Tile given the XYZ coordinates of a cell in the Tilemap. |
RefreshTile | Refreshes a Tile at the given XYZ coordinates of a cell in the :Tilemap. |