docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TileSet

    The TileSet asset generates a Tile Palette and other supporting sub-assets from user inputs.

    Inheritance
    object
    Object
    ScriptableObject
    TileSet
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetEntityId()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.InstantiateAsync<T>(T)
    Object.InstantiateAsync<T>(T, Transform)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int)
    Object.InstantiateAsync<T>(T, int, Transform)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, CancellationToken)
    Object.InstantiateAsync<T>(T, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, InstantiateParameters, CancellationToken)
    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(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    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>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)