Version: 2017.2

AssetBundle.LoadAssetAsync

Switch to Manual
public AssetBundleRequest LoadAssetAsync (string name);

Description

Асинхронно загружает объект с именем name данного типа type из пакета.

Prior to version 5.0, users could fetch individual components directly using LoadAsync. This is not supported anymore. Instead, please use LoadAssetAsync to load the game object first and then look up the component on the object.

See Also: AssetBundleRequest.


public AssetBundleRequest LoadAssetAsync (string name);

Description

Асинхронно загружает объект с именем name данного типа type из пакета.

Prior to version 5.0, users could fetch individual components directly using LoadAsync. This is not supported anymore. Instead, please use LoadAssetAsync to load the game object first and then look up the component on the object.

See Also: AssetBundleRequest.


public AssetBundleRequest LoadAssetAsync (string name, Type type);

Description

Асинхронно загружает объект с именем name данного типа type из пакета.

Prior to version 5.0, users could fetch individual components directly using LoadAsync. This is not supported anymore. Instead, please use LoadAssetAsync to load the game object first and then look up the component on the object.

See Also: AssetBundleRequest.