Version: 2023.2
public Object[] LoadAllAssets (Type type);
public Object[] LoadAllAssets ();
public T[] LoadAllAssets ();

参数

type When specified only main or visible objects that derive from the provided type are returned.

描述

Loads all Assets contained in the AssetBundle synchronously.