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?
↧