docs.unity.cn
    Show / Hide Table of Contents

    Class AnalyzeSystem

    Static system to manage Analyze functionality.

    Inheritance
    Object
    AnalyzeSystem
    Namespace: UnityEditor.AddressableAssets.Build
    Syntax
    public static class AnalyzeSystem : object

    Methods

    Name Description
    RegisterNewRule<TRule>()

    Method used to register any custom AnalyzeRules with the AnalyzeSystem. This replaces calling into the AnalyzeWindow directly to remove logic from the GUI. The recommended pattern is to create your rules like so:

      class MyRule : AnalyzeRule {}
      [InitializeOnLoad]
      class RegisterMyRule
      {
          static RegisterMyRule()
          {
              AnalyzeSystem.RegisterNewRule<MyRule>();
          }
      }
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use