docs.unity.cn
    Show / Hide Table of Contents

    Class CheckResourcesDupeDependencies

    Rule class to check resource dependencies for duplicates

    Inheritance
    Object
    AnalyzeRule
    BundleRuleBase
    CheckResourcesDupeDependencies
    Inherited Members
    BundleRuleBase.ExtractData
    BundleRuleBase.ResourcesToDependencies
    BundleRuleBase.AllBundleInputDefs
    BundleRuleBase.GetBuildContext(AddressableAssetSettings)
    BundleRuleBase.IsValidPath(String)
    BundleRuleBase.RefreshBuild(AddressableAssetsBuildContext)
    BundleRuleBase.GetAllBundleDependencies()
    BundleRuleBase.IntersectResourcesDepedenciesWithBundleDependencies(List<GUID>)
    BundleRuleBase.BuiltInResourcesToDependenciesMap(String[])
    BundleRuleBase.ConvertBundleNamesToGroupNames(AddressableAssetsBuildContext)
    BundleRuleBase.CalculateInputDefinitions(AddressableAssetSettings)
    BundleRuleBase.CreateUniqueBundle(AssetBundleBuild, Dictionary<String, String>)
    BundleRuleBase.GetImplicitGuidsForBundle(String)
    BundleRuleBase.GetImplicitGuidToFilesMap()
    BundleRuleBase.CalculateBuiltInResourceDependenciesToBundleDependecies(AddressableAssetSettings, String[])
    BundleRuleBase.BuildAndGetResourceDependencies(AddressableAssetSettings, String[])
    BundleRuleBase.ConvertBundleName(String, String)
    BundleRuleBase.ClearAnalysis()
    BundleRuleBase.Results
    AnalyzeRule.noErrors
    AnalyzeRule.kDelimiter
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Build.AnalyzeRules
    Syntax
    public class CheckResourcesDupeDependencies : BundleRuleBase

    Properties

    Name Description
    CanFix

    True if this rule can fix itself. If child class sets this to true, class must override FixIssues

    ruleName

    Display name for rule

    Methods

    Name Description
    FixIssues(AddressableAssetSettings)

    Fixing method to be run on results of the RefreshAnalysis. If CanFix returns true, this method must be overriden. It is recommended that RefreshAnalysis caches any data that will be needed to fix. Fix should not rerun RefreshAnalysis before fixing.

    GetResourcePaths()

    Gets an array of resource paths that are to be compared against the addressables build content

    RefreshAnalysis(AddressableAssetSettings)

    Clear analysis and calculate built in resources and corresponding bundle dependencies

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