docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AssetUtility

    Inheritance
    object
    AssetUtility
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.VisualScripting
    Assembly: Unity.VisualScripting.Core.Editor.dll
    Syntax
    public static class AssetUtility

    Properties

    AssetBundleEditor

    Declaration
    public static AssetBundle AssetBundleEditor { get; }
    Property Value
    Type Description
    AssetBundle

    Methods

    GetAllAssetsOfType<T>()

    Declaration
    public static IEnumerable<T> GetAllAssetsOfType<T>()
    Returns
    Type Description
    IEnumerable<T>
    Type Parameters
    Name Description
    T

    GetFileID(string, string)

    Declaration
    public static int GetFileID(string @namespace, string name)
    Parameters
    Type Name Description
    string namespace
    string name
    Returns
    Type Description
    int

    GetFileID(Type)

    Declaration
    public static int GetFileID(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    int

    GetPluginRuntimeGUID(Plugin)

    Declaration
    public static string GetPluginRuntimeGUID(Plugin plugin)
    Parameters
    Type Name Description
    Plugin plugin
    Returns
    Type Description
    string

    GetSelectedFolderPath()

    Declaration
    public static string GetSelectedFolderPath()
    Returns
    Type Description
    string

    LoadAssetBundle(string, string)

    Declaration
    public static AssetBundle LoadAssetBundle(string name, string path)
    Parameters
    Type Name Description
    string name
    string path
    Returns
    Type Description
    AssetBundle

    TryLoadIfExists<T>(string, out T)

    Declaration
    public static bool TryLoadIfExists<T>(string path, out T asset) where T : ScriptableObject
    Parameters
    Type Name Description
    string path
    T asset
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T

    TryLoad<T>(string, out T)

    Declaration
    public static bool TryLoad<T>(string path, out T asset) where T : ScriptableObject
    Parameters
    Type Name Description
    string path
    T asset
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T
    In This Article
    Back to top
    Copyright © 2025 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)