Quantcast
Channel: Questions in topic: "assetbundles"
Viewing all articles
Browse latest Browse all 312

How do I build asset bundles when play mode button is clicked?

$
0
0
I'm using Asset Bundles and the standard Unity build pipeline. I've use the following editor script to kickoff asset bundle build for my project. [MenuItem( "Assets/Asset Bundles/Build Windows x64" )] static void BuildWindows64() { // code to build omitted } My current workflow requires me to manually build assets via the menu item above before clicking play button. I'd like to know if I can simplify this workflow. Ideally, when I click the play button, the build would automatically occur for asset bundles and then begin playing. How can this be achieved?

Viewing all articles
Browse latest Browse all 312


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>