Class TileSet
The TileSet asset generates a Tile Palette and other supporting sub-assets from user inputs.
Inherited Members
Namespace: UnityEditor .Tilemaps
Assembly: Unity.2D.Tilemap.Editor.dll
Syntax
public class TileSet : ScriptableObject
Properties
cellLayout
Cell Layout for the Tile Palette generated by the TileSet
Declaration
public GridLayout.CellLayout cellLayout { get; set; }
Property Value
Type | Description |
---|---|
Grid |
cellSize
Cell Size for the Tile Palette generated by the TileSet
Declaration
public Vector3 cellSize { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
cellSizing
Cell Sizing for the Tile Palette generated by the TileSet
Declaration
public GridPalette.CellSizing cellSizing { get; set; }
Property Value
Type | Description |
---|---|
Grid |
createAtlas
Whether a SpriteAtlas should be created for the TileSet
Declaration
public bool createAtlas { get; set; }
Property Value
Type | Description |
---|---|
bool |
hexagonLayout
Hexagonal Cell Layout for the Tile Palette generated by the TileSet
Declaration
public TileSet.HexagonLayout hexagonLayout { get; set; }
Property Value
Type | Description |
---|---|
Tile |
scriptablePacker
ScriptablePacker used when generated a SpriteAtlas for the TileSet
Declaration
public ScriptablePacker scriptablePacker { get; set; }
Property Value
Type | Description |
---|---|
Scriptable |
sortAxis
Transparency Sort Axis for the Tile Palette generated by the TileSet
Declaration
public Vector3 sortAxis { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
sortMode
Transparency Sort Mode for the Tile Palette generated by the TileSet
Declaration
public TransparencySortMode sortMode { get; set; }
Property Value
Type | Description |
---|---|
Transparency |
textureSources
List of TextureSources used by the TileSet
Declaration
public List<TileSet.TextureSource> textureSources { get; }
Property Value
Type | Description |
---|---|
List<Tile |