Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AssetBundle.LoadAssetWithSubAssetsAsync

Switch to Manual
public function LoadAssetWithSubAssetsAsync(name: string): AssetBundleRequest;

Parameters

Description

Loads asset with sub assets with name from the bundle asynchronously.

See Also: AssetBundleRequest.


public function LoadAssetWithSubAssetsAsync(name: string): AssetBundleRequest;

Parameters

Description

Loads asset with sub assets with name of type T from the bundle asynchronously.

See Also: AssetBundleRequest.


public function LoadAssetWithSubAssetsAsync(name: string, type: Type): AssetBundleRequest;

Parameters

Description

Loads asset with sub assets with name of a given type from the bundle asynchronously.

See Also: AssetBundleRequest.