| Namespace: | Sirenix.Utilities.Editor |
| Assembly: | Sirenix.Utilities.Editor |
public static class AssetUtilities
public static bool CanCreateNewAsset<T>()
| System.Boolean |
|
| T | The type to test. |
public static bool CanCreateNewAsset<T>(out Type baseType)
| System.Type | baseType | The base asset type. |
| System.Boolean |
|
| T | The type to test. |
public static IEnumerable<Object> GetAllAssetsOfType(Type type, string folderPath = null)
| System.Type | type | The type of assets to find. |
| System.String | folderPath | The asset folder path. |
| System.Collections.Generic.IEnumerable<UnityEngine.Object> |
public static IEnumerable<T> GetAllAssetsOfType<T>()
where T : Object
| System.Collections.Generic.IEnumerable<T> |
| T |
public static IEnumerable<AssetUtilities.AssetSearchResult> GetAllAssetsOfTypeWithProgress(Type type, string folderPath = null)
| System.Type | type | The type of assets to find. |
| System.String | folderPath | The asset folder path. |
| System.Collections.Generic.IEnumerable<AssetUtilities.AssetSearchResult> |
public static string GetAssetLocation(Object obj)
| UnityEngine.Object | obj | The asset object. |
| System.String | The path to the asset. |