Version: 2019.2
Tile
TileAnimationData

TileData

public __Sprite__A 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. [More info](Sprites.html)<span class="tooltipGlossaryLink">See in [Glossary](Glossary.html#Sprite)</span> sprite

This is the sprite that is rendered for the Tile.

public Color color

This is the color that tints the sprite used for the Tile.

public Matrix4x4 transform

This is the transform matrix used to determine the final location of the Tile. Modify this to add rotations or scaling to the tile.

public __GameObject__The fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject's functionality is defined by the Components attached to it. [More info](class-GameObject.html)<span class="tooltipGlossaryLink">See in [Glossary](Glossary.html#GameObject)</span> gameobject

This is the GameObject that is instanced when the Tile is added to the TilemapA GameObject that allows you to quickly create 2D levels using tiles and a grid overlay. More info
See in Glossary
.

public TileFlags flags

These are the flags which controls the Tile’s behaviour. See TileFlags above for more details.

public Tile.ColliderType colliderType

This controls the collider shape generated by the Tile for an attached Tilemap ColliderAn invisible shape that is used to handle physical collisions for an object. A collider doesn’t need to be exactly the same shape as the object’s mesh - a rough approximation is often more efficient and indistinguishable in gameplay. More info
See in Glossary
2D component. See documentation on Tile.ColliderType for more details.


  • 2017–09–06 Page published
Tile
TileAnimationData