Class BuildCache
Default implementation of the Build Cache
Inherited Members
Namespace: UnityEditor .Build.Pipeline.Utilities
Assembly: solution.dll
Syntax
public class BuildCache : IBuildCache, IContextObject, IDisposable
Constructors
Name | Description |
---|---|
Build |
Creates a new build cache object. |
Build |
Creates a new remote build cache object. |
Methods
Name | Description |
---|---|
Dispose() | Disposes the build cache instance. |
Get |
Gets a CacheEntry for a file identified by its relative path. |
Get |
Gets a CacheEntry for a scripting type by a System.Type. |
Get |
Gets a CacheEntry for an object identified by an Object Identifier. |
Get |
Gets a CacheEntry for an asset identified by its GUID. |
Get |
Returns the path where artifact data can be saved in the cache |
Get |
Returns the path where info data can be saved in the cache |
Has |
Checks if the CachedInfo passed in needs to be rebuilt |
Load |
Loads a set of CachedInfos from the cache |
Prune |
Prunes the build cache so that its size is within the maximum cache size. |
Prune |
Prunes the build cache without showing UI prompts. |
Purge |
Deletes the build cache directory. |
Save |
Saves a set of CachedInfos to the cache |