Version: Unity 6.4 Alpha (6000.4)
LanguageEnglish
  • C#

ProjectAuditor

class in Unity.ProjectAuditor.Editor


Implements interfaces:IOrderedCallback, IPostprocessBuildWithReport

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The ProjectAuditor class is responsible for auditing the Unity project.

Properties

Property Description
callbackOrder Returns the relative callback order for callbacks. Callbacks with lower values are called before ones with higher values.

Constructors

Constructor Description
ProjectAuditor ProjectAuditor default constructor

Public Methods

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.