Method FindAssets
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> | A IEnumerable object |
Type Parameters
Name | Description |
---|---|
T | The type of material you are looking for |