Unity Engine documentation Script Reference Unity.ProjectAuditor.Editor ProjectAuditor The ProjectAuditor class is responsible for auditing the Unity project.
Read time 1 minute
Last updated 12 days ago Definition
public sealed class ProjectAuditor : IPostprocessBuildWithReport, IOrderedCallback
Constructors
Properties
Property Description callbackOrder Returns the relative callback order for callbacks. Callbacks with lower values are called before ones with higher values.
Static Properties
Property Description KnownUnityVersions Returns a list of Unity versions that is known to Project Auditor. It is based on the content in the Obsolete API Database.
Methods
Method Description Audit Performs static analysis of the project, using the supplied analysis parameters. AuditAsync Performs asynchronous static analysis of the project, using the supplied analysis parameters. Provide a callback to the 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.