LoadAllAssets
Loads all Assets contained in the AssetBundle synchronously.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AssetBundleModule
LoadAllAssets()
Loads all Assets contained in the AssetBundle synchronously.
public Object[] LoadAllAssets()
Returns
Type | Description |
|---|---|
| Object[] |
LoadAllAssets<T>()
Loads all Assets contained in the AssetBundle synchronously.
public T[] LoadAllAssets<T>() where T : Object
Returns
Type | Description |
|---|---|
| <T>[] |
LoadAllAssets(Type)
Loads all Assets contained in the AssetBundle synchronously.
public Object[] LoadAllAssets(Type type)
Parameters
When specified only main or visible objects that derive from the provided type are returned.
Returns
Type | Description |
|---|---|
| Object[] |