We managed to do it by calling :
#if UNITY_ANDROID || UNITY_EDITOR this.WikitudeCamera.WikitudeLicenseKey = "<your_android_licence_key>"; #elif UNITY_IOS this.WikitudeCamera.WikitudeLicenseKey = "your_ios_licence_key"; #endif
in the Awake function of our main controller.
Olivier GUILLET
Hello, using SDK 8.10.
We have a working Unity3D application with Wikitude, and building for both iOS and Android.
However we currently have to change the licence key (between iOS and Android) each time we build.
Is it possible to dynamically set the licence key on WikitudeCamera.WikitudeLicenceKey, depending of the running platform ?
Thanks for your help,