docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TagData

    Parsed representation of an Aseprite Tag data.

    Inheritance
    object
    TagData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.U2D.Aseprite
    Assembly: Unity.2D.Aseprite.Editor.dll
    Syntax
    public class TagData

    Properties

    fromFrame

    The starting frame of the tag.

    Declaration
    public ushort fromFrame { get; set; }
    Property Value
    Type Description
    ushort

    loopDirection

    The loop animation direction.

    Declaration
    public LoopAnimationDirection loopDirection { get; set; }
    Property Value
    Type Description
    LoopAnimationDirection

    name

    The name of the tag.

    Declaration
    public string name { get; set; }
    Property Value
    Type Description
    string

    noOfRepeats

    The number of times the animation should loop.
    0 = Doesn't specify (plays infinite in UI, once on export, for ping-pong it plays once in each direction).
    1 = Plays once (for ping-pong, it plays just in one direction).
    2 = Plays twice (for ping-pong, it plays once in one direction, and once in reverse).
    n = Plays N times.

    Declaration
    public ushort noOfRepeats { get; set; }
    Property Value
    Type Description
    ushort

    toFrame

    The ending frame of the tag.

    Declaration
    public ushort toFrame { get; set; }
    Property Value
    Type Description
    ushort
    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)