Unity Demo Scene
Since 1.4.0 Banuba SDK provides a new Demo Scene for our Unity plugin.
New Demo scene allows using multiple face filters with carousel like in our native Demo application. To launch this Demo scene on your device follow the steps bellow:
- In the project files tree find and open BanubaSDKDemo.unity which is located under Assets -> BanubaFaceAR -> BaseAssets -> Demo
- To add effects find
EffectsManager
object in Hierarchy and populateEffects
list in Inspector with desired effects prefabs that you can find inside folders under Assets -> BanubaFaceAR -> Effects. At start the list will already be fullfilled with all available effects.
- Select LoaderScene and BanubaSDKDemo scenes in File -> Build Settings and make sure their indexes are 0 and 1 respectively. Then launch it on the needed platform as usual.
That’s how a properly configured scene should look like.