Install and Initialize
Requirements
- Unity 2021.3.26f1 or later
- Xcode 12.5 or later (for iOS builds)
- Android Studio 4.2.2 or later (for Android builds)
Setup
To start using the Portkey Unity SDK, follow these steps:
- Create your Unity project.
- Open /Packages/manifest.json
- Add the following line to the dependencies section:
"nuget.moq": "1.0.0",
"com.unity.nuget.newtonsoft-json": "3.2.1",
- Download the SDK package from the releases section.
- Open your Unity project.
- In the Unity editor, navigate to Assets > Import Package > Custom Package.
- Select the SDK package file (e.g.,
portkey-unity-sdk-v1.0.6-alpha.unitypackage
) and click Open. - Unity will import the SDK assets and libraries into your project.
- Restart your Unity editor.