Class AssetUtility
Syntax
public static class AssetUtility
Properties
AssetBundleEditor
Declaration
public static AssetBundle AssetBundleEditor { get; }
Property Value
Methods
GetAllAssetsOfType<T>()
Declaration
public static IEnumerable<T> GetAllAssetsOfType<T>()
Returns
Type Parameters
GetFileID(String, String)
Declaration
public static int GetFileID(string namespace, string name)
Parameters
Returns
GetFileID(Type)
Declaration
public static int GetFileID(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
GetPluginRuntimeGUID(Plugin)
Declaration
public static string GetPluginRuntimeGUID(Plugin plugin)
Parameters
Type |
Name |
Description |
Plugin |
plugin |
|
Returns
GetSelectedFolderPath()
Declaration
public static string GetSelectedFolderPath()
Returns
LoadAssetBundle(String, String)
Declaration
public static AssetBundle LoadAssetBundle(string name, string path)
Parameters
Returns
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 Parameters
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 Parameters