docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AsepriteReader

    File parsing utility for Aseprite files.

    Inheritance
    object
    AsepriteReader
    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 static class AsepriteReader

    Methods

    ReadFile(string)

    Reads an Aseprite file from the given path.

    Declaration
    public static AsepriteFile ReadFile(string assetPath)
    Parameters
    Type Name Description
    string assetPath

    Path to the file.

    Returns
    Type Description
    AsepriteFile

    Returns a parsed representation of the file.

    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)