docs.unity3d.com
    目次を表示する/隠す

    Class AssetUtility

    Inheritance
    Object
    AssetUtility
    Namespace: Unity.VisualScripting
    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
    Int32

    GetFileID(Type)

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

    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

    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
    Boolean
    Type Parameters
    Name Description
    T

    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
    Boolean
    Type Parameters
    Name Description
    T
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)