{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class BuildCache | Scriptable Build Pipeline | 2.0.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BuildCache

    Default implementation of the Build Cache

    Inheritance
    object
    BuildCache
    Implements
    IBuildCache
    IContextObject
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.Build.Pipeline.Utilities
    Assembly: solution.dll
    Syntax
    public class BuildCache : IBuildCache, IContextObject, IDisposable

    Constructors

    Name Description
    BuildCache()

    Creates a new build cache object.

    BuildCache(string, int)

    Creates a new remote build cache object.

    Methods

    Name Description
    Dispose()

    Disposes the build cache instance.

    GetCacheEntry(string, int)

    Gets a CacheEntry for a file identified by its relative path.

    GetCacheEntry(Type, int)

    Gets a CacheEntry for a scripting type by a System.Type.

    GetCacheEntry(ObjectIdentifier, int)

    Gets a CacheEntry for an object identified by an Object Identifier.

    GetCacheEntry(GUID, int)

    Gets a CacheEntry for an asset identified by its GUID.

    GetCachedArtifactsDirectory(CacheEntry)

    Returns the path where artifact data can be saved in the cache

    GetCachedInfoFile(CacheEntry)

    Returns the path where info data can be saved in the cache

    HasAssetOrDependencyChanged(CachedInfo)

    Checks if the CachedInfo passed in needs to be rebuilt

    LoadCachedData(IList<CacheEntry>, out IList<CachedInfo>)

    Loads a set of CachedInfos from the cache

    PruneCache()

    Prunes the build cache so that its size is within the maximum cache size.

    PruneCache_Background(long)

    Prunes the build cache without showing UI prompts.

    PurgeCache(bool)

    Deletes the build cache directory.

    SaveCachedData(IList<CachedInfo>)

    Saves a set of CachedInfos to the cache

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)