Then define a method in it that will create an asset bundle from the selected asset.įirst define the target path of the created asset bundle in path property. ![]() So, we create an editor script named ExportAssetBundles.cs. To do this you will have one editor script that will create the asset bundle for you. Refresh the content to see the bundle file. It will create a bundle at AssetBundle directory. ![]() ![]() Now select prefab and click Assets > Build AssetBundle to create asset bundle of it.
0 Comments
Leave a Reply. |