Class SpriteAtlasAnalysisContext
A context object passed by SpriteAtlasModule to a SpriteAtlasModuleAnalyzer's Analyze() method.
Inherited Members
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 |