Class TileSet
The TileSet asset generates a Tile Palette and other supporting sub-assets from user inputs.
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetEntityId()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Namespace: UnityEditor.Tilemaps
Assembly: Unity.2D.Tilemap.Editor.dll
Syntax
[HelpURL("tilemaps/tile-palettes/tile-set-properties")]
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 |
---|---|
GridLayout.CellLayout |
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 |
---|---|
GridPalette.CellSizing |
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 |
---|---|
TileSet.HexagonLayout |
scriptablePacker
ScriptablePacker used when generated a SpriteAtlas for the TileSet
Declaration
public ScriptablePacker scriptablePacker { get; set; }
Property Value
Type | Description |
---|---|
ScriptablePacker |
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 |
---|---|
TransparencySortMode |
textureSources
List of TextureSources used by the TileSet
Declaration
public List<TileSet.TextureSource> textureSources { get; }
Property Value
Type | Description |
---|---|
List<TileSet.TextureSource> |