docs.unity.cn
    Show / Hide Table of Contents

    Class CheckBundleDupeDependencies

    Rule class to check for duplicate bundle dependencies

    Inheritance
    Object
    AnalyzeRule
    BundleRuleBase
    CheckBundleDupeDependencies
    Inherited Members
    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.ConvertBundleName(String, String)
    AnalyzeRule.noErrors
    AnalyzeRule.kDelimiter
    Namespace: UnityEditor.AddressableAssets.Build.AnalyzeRules
    Syntax
    public class CheckBundleDupeDependencies : 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
    CalculateDuplicates(Dictionary<GUID, List<String>>, AddressableAssetsBuildContext)

    Calculate duplicate dependencies

    CheckForDuplicateDependencies(AddressableAssetSettings)

    Check for duplicates among the dependencies and build implicit duplicates

    ClearAnalysis()

    Clear all previously gathered bundle data and analysis

    FixIssues(AddressableAssetSettings)

    Fix duplicates by moving to a new group

    RefreshAnalysis(AddressableAssetSettings)

    Clear current analysis and rerun check for duplicates

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