Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

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

Removed in version 5.5.2p4

AssetBundle.CreateFromFile

Obsolete public static AssetBundle CreateFromFile(string path);

Parameters

path Path of the file on disk

See Also: WWW.assetBundle, WWW.LoadFromCacheOrDownload.

Description

Loads an asset bundle from a disk.

Only uncompressed asset bundles are supported by this function. This is the fastest way to load an asset bundle.