Table of Contents
Extensions for AssetBundles
public static class AssetBundleExt
Inheritance System.Object AssetBundleExt
Synchronously loads an asset from the bundle
public static Object LoadAssetSync(this AssetBundle assetBundle, string assetName);
assetBundle
UnityEngine.AssetBundle
assetName
System.String
Synchronously loads an asset from the bundle
public static T LoadAssetSync<T>(this AssetBundle assetBundle, string assetName)
where T : Il2CppObjectBase;
T
assetBundle
UnityEngine.AssetBundle
assetName
System.String