[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/Unity.ProjectAuditor.Editor.ProjectAuditor.html [Back]  [Original]

Unity - Scripting API: ProjectAuditor
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    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
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Description

    The ProjectAuditor class is responsible for auditing the Unity project.

    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.

    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.

    Web Proxy Viewer  |  New URL  |  Original Page