Class UserDataChunk
Parsed representation of an Aseprite UserData chunk.
Implements
Inherited Members
Namespace: UnityEditor.U2D.Aseprite
Assembly: Unity.2D.Aseprite.Editor.dll
Syntax
public class UserDataChunk : BaseChunk, IDisposable
Properties
chunkType
The type of the chunk.
Declaration
public override ChunkTypes chunkType { get; }
Property Value
| Type | Description |
|---|---|
| ChunkTypes |
Overrides
color
Color data.
Declaration
public Color32 color { get; }
Property Value
| Type | Description |
|---|---|
| Color32 |
text
Text data.
Declaration
public string text { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InternalRead(BinaryReader)
Read and store the chunk data.
Declaration
protected override void InternalRead(BinaryReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryReader | reader | The active binary reader of the file. |