跳转到内容

TilemapLayer

此内容尚不支持你的语言。

const TilemapLayer: BuiltinComponentDef<TilemapLayerData>

Defined in: ecs/component.ts:1043

One layer of a tile lattice: cellSize is its step in world units, and orientation with the stagger fields cover isometric and hex, so it is not only a square grid. The tiles are in a referenced .estileset rather than here — render, collision and tile animation all derive from that.