docs.unity3d.com
    目次を表示する/隠す

    Class BundleRuleBase

    Base class for handling analyzing bundle rules tasks and checking dependencies

    Inheritance
    Object
    AnalyzeRule
    BundleRuleBase
    CheckBundleDupeDependencies
    CheckResourcesDupeDependencies
    CheckSceneDupeDependencies
    Inherited Members
    AnalyzeRule.noErrors
    AnalyzeRule.kDelimiter
    AnalyzeRule.ruleName
    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 BundleRuleBase : AnalyzeRule

    Properties

    Name Description
    AllBundleInputDefs
    CanFix

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

    ExtractData

    The BuildTask used to extract write data from the build.

    ResourcesToDependencies

    A mapping of resources to a list of guids that correspond to their dependencies

    Results

    Duplicate Results between Addressables and Player content.

    Methods

    Name Description
    BuildAndGetResourceDependencies(AddressableAssetSettings, String[])

    Calculates and gathers dependencies for built in data.

    BuiltInResourcesToDependenciesMap(String[])

    Build map of resources to corresponding dependencies

    CalculateBuiltInResourceDependenciesToBundleDependecies(AddressableAssetSettings, String[])

    Calculate built in resources and corresponding bundle dependencies

    CalculateInputDefinitions(AddressableAssetSettings)

    Generate input definitions and entries for AssetBundleBuild

    ClearAnalysis()

    Clear all previously gathered bundle data and analysis

    ConvertBundleName(String, String)

    Convert bundle name to include group name

    ConvertBundleNamesToGroupNames(AddressableAssetsBuildContext)

    Use bundle names to create group names for AssetBundleBuild

    CreateUniqueBundle(AssetBundleBuild, Dictionary<String, String>)

    Create new AssetBundleBuild

    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.

    GetAllBundleDependencies()

    Get dependencies from bundles

    GetBuildContext(AddressableAssetSettings)

    Get context for current Addressables settings

    GetImplicitGuidsForBundle(String)

    Get bundle's object ids that have no dependency file

    GetImplicitGuidToFilesMap()

    Build map of implicit guids to their bundle files

    GetResourcePaths()

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

    IntersectResourcesDepedenciesWithBundleDependencies(List<GUID>)

    Add Resource and Bundle dependencies in common to map of resources to dependencies

    IsValidPath(String)

    Check path is valid path for Addressables entry

    RefreshAnalysis(AddressableAssetSettings)

    Clear analysis and calculate built in content and corresponding bundle dependencies

    RefreshBuild(AddressableAssetsBuildContext)

    Refresh build to check bundles against current rules

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)