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.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)
    BundleRuleBase.ClearAnalysis()
    AnalyzeRule.noErrors
    AnalyzeRule.kDelimiter
    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.

    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, March 4, 2022
    Terms of use