CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches

◆ LoadAll()

static Object[] LoadAll ( [NotNull] Path path)
static

Loads all sub-asset objects of an asset.

Whether the main object is included in this list depends on the type of asset.

CAUTION: Calling this on scene assets is not supported (error messages in console).

Parameters
pathPath to an asset file.
Returns
All sub-assets of the asset, possibly excluding the main asset. Or an empty array if load failed or there are no sub-assets and the asset type does not include the main type in the sub-assets list.
See also