Method LoadAssetBundleFromResources
|
Improve this Doc
View Source
LoadAssetBundleFromResources(string, Assembly)
Load an assembly-embedded AssetBundle. Use this if the automatic detection of the assembly fails.
Declaration
public static AssetBundle LoadAssetBundleFromResources(string bundleName, Assembly resourceAssembly)
Parameters
Type |
Name |
Description |
string |
bundleName |
Name of the bundle. Folders are point-seperated e.g. folder/bundle becomes folder.bundle |
Assembly |
resourceAssembly |
Executing assembly |
Returns
Type |
Description |
AssetBundle |
|
|
Improve this Doc
View Source
LoadAssetBundleFromResources(string)
Load an assembly-embedded AssetBundle. The calling assembly is automatically detected.
Declaration
public static AssetBundle LoadAssetBundleFromResources(string bundleName)
Parameters
Type |
Name |
Description |
string |
bundleName |
Name of the bundle. Folders are point-seperated e.g. folder/bundle becomes folder.bundle |
Returns
Type |
Description |
AssetBundle |
|