docs.unity3d.com
    Show / Hide Table of Contents

    Class TagData

    Parsed representation of an Aseprite Tag data.

    Inheritance
    Object
    TagData
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.U2D.Aseprite
    Syntax
    public class TagData

    Properties

    fromFrame

    The starting frame of the tag.

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

    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
    UInt16

    toFrame

    The ending frame of the tag.

    Declaration
    public ushort toFrame { get; set; }
    Property Value
    Type Description
    UInt16
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023