Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: wallabie on July 16, 2014, 12:37:01 PM

Title: Best practice NGUI and Asset bundle
Post by: wallabie on July 16, 2014, 12:37:01 PM
I'm at the stage in the project where I need to work with NGUI and asset bundles.

What is the recommended  workflow for do this.

Cheers.
Title: Re: Best practice NGUI and Asset bundle
Post by: ArenMook on July 17, 2014, 02:31:09 AM
I have very limited experience with AssetBundles as they are meant for a very narrow set of things -- namely dynamically loading 3D models and textures. They are not meant to be used with something created dynamically like NGUI's UIs, so I would not recommend you using them for that purpose.
Title: Re: Best practice NGUI and Asset bundle
Post by: r.pedra on July 17, 2014, 04:08:47 AM
I tried it and there is a something you need to know.
If you want to export scenes in asset bundles, you need to embed the UIAtlases your scene is using in the scene as prefabs.
If you want to export atlases, just export them as you will do with any asset.