mainAsset Main asset that was supplied when building the asset bundle (Read Only).
Public Functions
Contains Check if an AssetBundle contains a specific object.
LoadAllAssets Loads all assets contained in the asset bundle that inherit from type.
LoadAllAssetsAsync Loads all assets contained in the asset bundle asynchronously.
LoadAsset Loads asset with name from the bundle.
LoadAssetAsync Asynchronously loads asset with name from the bundle.
LoadAssetWithSubAssets Loads asset and sub assets with name from the bundle.
LoadAssetWithSubAssetsAsync Loads asset with sub assets with name from the bundle asynchronously.
Unload Unloads all assets in the bundle.
Static Functions
LoadFromFile Synchronously loads an AssetBundle from a file on disk. 必须有UncompressedAssetBundle
LoadFromFileAsync Asynchronously loads an AssetBundle from a file on disk.