Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

AssetBundle.LoadAsync

LoadAsync(name: string, type: Type): AssetBundleRequest;
AssetBundleRequest LoadAsync(string name, Type type);
def LoadAsync(name as string, type as Type) as AssetBundleRequest

Description

Asynchronously loads object with name of a given type from the bundle.

Asynchronous loading requires Unity Pro.

See Also: AssetBundleRequest.