docs.unity.cn
    Show / Hide Table of Contents

    Class AnalyzeSystem

    Static system to manage Analyze functionality.

    Inheritance
    Object
    AnalyzeSystem
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Build
    Syntax
    [Serializable]
    public static class AnalyzeSystem

    Methods

    Name Description
    DeserializeData(String)

    Load and deserialize analysis data from json file and reload

    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>();
          }
      }
    SerializeData(String)

    Serialize the analysis data to json and save to disk

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, August 12, 2022
    Terms of use