{!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} Interface IBuildCache | Scriptable Build Pipeline | 2.0.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IBuildCache

    Base interface for the Build Caching

    Namespace: UnityEditor.Build.Pipeline.Interfaces
    Assembly: solution.dll
    Syntax
    public interface IBuildCache : IContextObject

    Methods

    Name Description
    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

    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)