Method GetAssets
GetAssets<T>(string)
Load all assets that use the associated name from resources folder.
Declaration
public T[] GetAssets<T>(string assetName) where T : Object
Parameters
| Type | Name | Description |
|---|---|---|
| string | assetName | The name to check for. |
Returns
| Type | Description |
|---|---|
| T[] | Returns an array containing each asset reference assigned the given name. |
Type Parameters
| Name | Description |
|---|---|
| T |