docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    BuildAssemblyCache
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    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

    In This Article
    Back to top
    Copyright © 2024 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)