Class AssetReferenceDatabase | Asset Graph | 1.6.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class AssetReferenceDatabase

    Inheritance
    Object
    AssetReferenceDatabase
    Namespace: UnityEngine.AssetGraph
    Syntax
    public class AssetReferenceDatabase : ScriptableObject

    Methods

    DeleteReference(String)

    Declaration
    public static void DeleteReference(string relativePath)
    Parameters
    Type Name Description
    String relativePath

    GetAssetBundleManifestReference(String)

    Declaration
    public static AssetReference GetAssetBundleManifestReference(string relativePath)
    Parameters
    Type Name Description
    String relativePath
    Returns
    Type Description
    AssetReference

    GetAssetBundleReference(String)

    Declaration
    public static AssetReference GetAssetBundleReference(string relativePath)
    Parameters
    Type Name Description
    String relativePath
    Returns
    Type Description
    AssetReference

    GetDatabase()

    Declaration
    public static AssetReferenceDatabase GetDatabase()
    Returns
    Type Description
    AssetReferenceDatabase

    GetPrefabReference(String)

    Declaration
    public static AssetReference GetPrefabReference(string relativePath)
    Parameters
    Type Name Description
    String relativePath
    Returns
    Type Description
    AssetReference

    GetReference(String)

    Declaration
    public static AssetReference GetReference(string relativePath)
    Parameters
    Type Name Description
    String relativePath
    Returns
    Type Description
    AssetReference

    GetReferenceWithType(String, Type)

    Declaration
    public static AssetReference GetReferenceWithType(string relativePath, Type t)
    Parameters
    Type Name Description
    String relativePath
    Type t
    Returns
    Type Description
    AssetReference

    MoveReference(String, String)

    Declaration
    public static void MoveReference(string oldPath, string newPath)
    Parameters
    Type Name Description
    String oldPath
    String newPath

    SetDBDirty()

    Declaration
    public static void SetDBDirty()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023