TileData
A Struct for the required data for rendering a Tile.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
public struct TileData
Properties
Property | Description |
|---|---|
| color | Color of the Tile. |
| flags | TileFlags of the Tile. |
| gameObject | GameObject of the Tile. |
| gameObjectEntityId | EntityId of the GameObject of the Tile. |
| sprite | Sprite to be rendered at the Tile. |
| spriteEntityId | EntityId of the Sprite to be rendered at the Tile. |
| transform | Transform matrix of the Tile. |