Integration Guide
Open up your Unity project and go to Edit -> Project Settings -> Package Manager. Add a new scoped registry with the following parameters: Name:Dynamic SDKURL:
https://packages.dynamic.xyzScope(s):
xyz.dynamic.unitysdk
Then open up the Unity Package Manager (Window -> Package Manager) and click on the + sign and select Install package by name.
In the Name input field that pops up input xyz.dynamic.unitysdk, the version can stay blank at this time. This will download the latest SDK available on the package manager.
As soon as the package installs you will be prompted with a welcome window where you will have to input your Environment Id that you have retrieved from the Dashboard
While you are in the Dashboard, go to Account Security -> CORS Origin and press the cogwheel. Add the origin https://dynamic-unity-webview.vercel.app to the CORS (that is the server Url and mobile server Url in the config), so that our webapp can be loaded properly in Unity.
If you want to immediately see the SDK in action, we advise you to also import the samples (Located under the package itself in the Package Manager under the Samples section).