load
Loads an AssetBundle from a specified path.
This static method supports loading AssetBundles from different sources. This flexibility facilitates the loading of AssetBundles in various environments and scenarios.
Return
Returns an instance of the AssetBundle loaded from the specified path and load type.
Parameters
path
The path where the AssetBundle is located.
loadType
The type of loading operation, specifying where to load the AssetBundle from. Defaults to FROM_ASSETS.
Throws
If any error occurs during the loading process.