LoadEmbeddedBundle
Updated a month agoLoadEmbeddedBundle
Loads an embedded .bundle file (Unity AssetBundle) from your assembly.
var bundle = BundleUtils.LoadEmbeddedBundle(Assembly.GetExecutingAssembly(), "MyNamespace.shopbundle");
var prefab = bundle?.LoadAsset<GameObject>("Assets/REPO/Game/Resources/level/shop/modules/Module - Shop - DE - Example Room.prefab");