SpriteAtlasAnalysisContext
A context object passed by SpriteAtlasModule to a SpriteAtlasModuleAnalyzer's Analyze() method.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: Unity.ProjectAuditor.Editor.Core
- Assembly: UnityEditor
- Inherits from: AnalysisContext
public class SpriteAtlasAnalysisContext : AnalysisContext
Fields
Value | Description |
|---|---|
| AssetPath | The path to a Sprite Atlas asset in the project. |
| EmptySpaceBytes | The empty space of the sprite atlas in bytes. |
| 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. |