Create a unity package without including the whole of OB Toolkit
Is it possible to create a unity package for an asset created with open brush without including the entire OB toolkit? Can you package just the scripts and materials for specific brushes used for the asset?
4 Replies
Zandy:
I want to make sure the shaders work for the asset if brought back into unity without someone having to download the toolkit itself.It should be fine to exclude stuff when you create a new .unitypackage. If it's about reducing filesize then excluding the unused brushes will make the most difference probably (mainly because of the texture files) - but will be the most fiddly to do. The .unitypackage is about 9Mb for regular, 15Mb including experimental so you might get it down to a couple of Mb - but the glb of your sketch will probably be the biggest single factor.
Thanks a bunch Andy so if I include the glb, shader scripts and materials needed for the glb itself it should be good? Is there anything else I’ll need to add?
I'm afraid I don't know without trying it. Probably best to do it the other way round - just delete the brush folders you know you're not using. The scripts don't take up much space.
There's a tradeoff - how much effort is it worth to save a few kb?
For a big sketch - I'm not sure if's really worth the effort at all - the most you'd save would be 12Mb or so even if you count the size including all the experimental brushes as well.
Ok good point! Thanks for the tips and advice.