Class TagData
Parsed representation of an Aseprite Tag data.
Inherited Members
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 |
---|---|
Loop |
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 |