22 lines
490 B
XML
22 lines
490 B
XML
<prefab name="EthPrefab" type="">
|
|
<asset type="texture" name="texture_eth" />
|
|
|
|
<MeshRenderer />
|
|
<QuadMeshHost />
|
|
<SimpleBillboardedMaterial texture="texture_eth" />
|
|
<TiledSprite tile="0" ref="tiledSprite" sizeType="TILED_SPRITE_SIZE_TYPE_WIDTH_RATIO" />
|
|
|
|
<code type="properties">
|
|
TilesetGrid grid;
|
|
</code>
|
|
|
|
<code type="init">
|
|
this->grid = TilesetGrid(
|
|
1, 13,
|
|
741, 10270,
|
|
0, 0,
|
|
0, 0
|
|
);
|
|
tiledSprite->tileset = &grid;
|
|
</code>
|
|
</prefab> |