class in Unity.ProjectAuditor.Editor.Core
/
Inherits from:Unity.ProjectAuditor.Editor.Core.AnalysisContext
A context object passed by SpriteAtlasModule to a SpriteAtlasModuleAnalyzer's Analyze() method.
| Property | Description |
|---|---|
| AssetPath | The path to a Sprite Atlas asset in the project. |
| EmptySpacePercentage | The empty space percentage of the sprite atlas. |
| Name | The name of a sprite atlas asset in the project |
| SpriteAtlas | The spriteatlas asset to be analyzed. |
| Property | Description |
|---|---|
| Params | The AnalysisParams object that was passed to (or created by) the ProjectAuditor's Audit() method. |
| Method | Description |
|---|---|
| CreateInsight | Create a ReportItemBuilder for an Insight: A ReportItem collected for informational purposes. |
| CreateIssue | Create a ReportItemBuilder for an Issue: a potential problem in the project, with an actionable recommendation to resolve it. |
| IsDescriptorEnabled | Checks whether a given Descriptor is enabled for the current analysis. |