docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SpriteAtlasAnalysisContext

    A context object passed by SpriteAtlasModule to a SpriteAtlasModuleAnalyzer's Analyze() method.

    Inheritance
    object
    AnalysisContext
    SpriteAtlasAnalysisContext
    Inherited Members
    AnalysisContext.Params
    AnalysisContext.CreateIssue(IssueCategory, string, params object[])
    AnalysisContext.CreateInsight(IssueCategory, string)
    AnalysisContext.IsDescriptorEnabled(Descriptor)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.ProjectAuditor.Editor.Core
    Assembly: Unity.ProjectAuditor.Editor.dll
    Syntax
    public class SpriteAtlasAnalysisContext : AnalysisContext

    Fields

    AssetPath

    The path to a Sprite Atlas asset in the project.

    Declaration
    public string AssetPath
    Field Value
    Type Description
    string

    EmptySpacePercentage

    The empty space percentage of the sprite atlas.

    Declaration
    public float EmptySpacePercentage
    Field Value
    Type Description
    float

    Name

    The name of a sprite atlas asset in the project

    Declaration
    public string Name
    Field Value
    Type Description
    string

    SpriteAtlas

    The spriteatlas asset to be analyzed.

    Declaration
    public SpriteAtlas SpriteAtlas
    Field Value
    Type Description
    SpriteAtlas
    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)