Class BuildAssemblyCache
A BuildAssemblyCache caches a set of assemblies built from a root assembly asset and a build target. It is rebuilt if the root assembly asset or the build target has changed.
Inherited Members
Namespace: Unity.Build
Assembly: solution.dll
Syntax
public sealed class BuildAssemblyCache
Properties
Name | Description |
---|---|
Assemblies | The list of assemblies that are being referenced from this cache |
BaseAssemblies | The assembly definition asset to use as the root assemblies for this cache. Dirty the cache if the asset has changed |
PlatformName | The platform name to use to include the assemblies including this platform Dirty the cache if the name has changed |
Methods
Name | Description |
---|---|
HasType(Type) | Returns true if the Type type is present in the assemblies of the cache and rebuilds the cache if needed |
HasType<T>() | Return true if the type T is present in the assemblies of the cache |
RebuildCacheIfDirty() | Rebuilds the cache of assemblies only if the platform name or the root assembly asset has changed |