Getting Started
Play a live demo -> https://unitysdk.web.app
Code Repo
https://github.com/SphereGlobal/unity-sdk
Supported Platforms
- WebGL
- iOS (iOS 12+)
- Android (Android 8.1 and above, API level 27+)
- MacOS Standalone
- Windows Standalone
Setup
To use the SDK, you'll need the Newtonsoft Json package installed. Click Window > Package Manager
, then click + > Add package from git URL
. Add com.unity.nuget.newtonsoft-json
.
![](https://files.readme.io/b841e4c-Screenshot_2023-08-15_at_3.24.34_PM.png)
![](https://files.readme.io/c4c640b-Screenshot_2023-08-15_at_3.24.58_PM.png)
![](https://files.readme.io/62fddf7-Screenshot_2023-08-15_at_3.27.23_PM.png)
Next, import the SphereOne SDK. Start by downloading the .unitypackage file from the Releases page on the GitHub repository (usually you'll want the latest version).
![](https://files.readme.io/78f200c-Screenshot_2023-08-17_at_12.32.27_PM.png)
Add the package to your Unity project by clicking Assets > Import Package > Custom Package
![](https://files.readme.io/22d53ce-Screenshot_2023-08-15_at_3.16.25_PM.png)
Select the .unitypackage
file downloaded from GitHub and click open.
Leave the default files selected and click import.
![](https://files.readme.io/84ff1b7-Screenshot_2023-08-15_at_3.33.11_PM.png)
The SDK has now been installed, alongside a new Sphere One
helper to the main menu. To use the SDK, add the SphereOneManager prefab to your initial scene.
![](https://files.readme.io/8479b19-Screenshot_2023-08-15_at_3.36.42_PM.png)
![](https://files.readme.io/e843373-Screenshot_2023-08-15_at_3.46.18_PM.png)
If you are using WebGL, see WebGL Setup to finish setup.
Thats it, the SDK is now installed and ready to use ๐
Do not rename the SphereOneManager gameobject
Updated 10 months ago