Skip to Main Content

BTD_Mod_Helper​.Extensions​.AssetBundleExt


BloonsTD6 Mod Helper

BTD_Mod_Helper.Extensions

AssetBundleExt Class

Extensions for AssetBundles

public static class AssetBundleExt

Inheritance System.Object  AssetBundleExt

Methods

AssetBundleExt.LoadAssetSync(this AssetBundle, string) Method

Synchronously loads an asset from the bundle

public static Object LoadAssetSync(this AssetBundle assetBundle, string assetName);

Parameters

assetBundle UnityEngine.AssetBundle

assetName System.String

Returns

Il2CppSystem.Object

AssetBundleExt.LoadAssetSync(this AssetBundle, string) Method

Synchronously loads an asset from the bundle

public static T LoadAssetSync<T>(this AssetBundle assetBundle, string assetName)
    where T : Il2CppObjectBase;

Type parameters

T

Parameters

assetBundle UnityEngine.AssetBundle

assetName System.String

Returns

T

To learn how to download BTD Mod Helper and install mods, click here