class in Unity.ProjectAuditor.Editor
Implements interfaces:IOrderedCallback, IPostprocessBuildWithReport
The ProjectAuditor class is responsible for auditing the Unity project.
Property | Description |
---|---|
callbackOrder | Returns the relative callback order for callbacks. Callbacks with lower values are called before ones with higher values. |
Constructor | Description |
---|---|
ProjectAuditor | ProjectAuditor default constructor |
Method | Description |
---|---|
Audit | Performs static analysis of the project, using default parameters. |
AuditAsync | Performs asynchronous static analysis of the project, using the supplied analysis parameters. Provide a callback to the OnCompleted Action in analysisParams to obtain the Report when analysis is completed. |
OnPostprocessBuild | Callback function which is called after a build is completed. If UserPreferences.AnalyzeAfterBuild is true, performs a full audit and logs the number of issues found. |