Class AssetDatabaseHelper
Set of helpers for AssetDatabase operations.
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public static class AssetDatabaseHelper
Methods
FindAssets<T>(string)
Finds all assets of type T in the project.
Declaration
public static IEnumerable<T> FindAssets<T>(string extension = null)
Parameters
Type | Name | Description |
---|---|---|
string | extension | Asset type extension i.e ".mat" for materials |
Returns
Type | Description |
---|---|
IEnumerable<T> |
Type Parameters
Name | Description |
---|---|
T | The type of material you are looking for |