Install Unity 2021.3.35f1 or later. Earlier versions may also be compatible but will not be actively supported.
(iOS only) Install the following:
- Xcode 15.0 or higher
- CocoaPods 1.14.3 or higher
Make sure that your Unity project meets these requirements:
-
For iOS — targets iOS 14 or higher
-
For Android — Minimum API Level 23 or higher,Targets API level 31 or higher,Pack apk must be with exporting project to Android Studio, change Java SDK version to 11
-
For Windows and macOS - Require unity package: 3D WebView for Windows and macOS (Web Browser), version 4.3.3 If you are familiar with web browser in windows platform, you can use other web browser instead.
Connect: https://developers.particle.network/api-reference/connect/mobile/unity
AuthCore: https://developers.particle.network/api-reference/auth/mobile-sdks/unity
GUI: https://developers.particle.network/api-reference/wallet/mobile/unity
AA: https://developers.particle.network/api-reference/aa/sdks/mobile/unity
Windows and macOS: https://developers.particle.network/api-reference/auth/desktop-sdks/unity
In scene: Mobile_WalletDemo
-
Download and open in Unity Editor.
-
Run and click
Connect Demo
button, clickSelect Chain
button, selectEthereum Sepolia
. -
Click
Init
button to initialize the SDK. -
Click
Login
button, in test mode, api will return a user info. -
Click other button to test, you can see all logs in Console.
In scene: Window_AuthDemo
-
Download and open in Unity Editor.
-
Click
Particle Init
button to initialize the SDK -
Click
Login
to login in web view.
-
Export project and follow steps in Docs, install project to your phone.
-
Use the same steps to test
Auth Demo
. -
With phone, you can test
Connect Demo
andGUI Demo
If you got some problems, please report bugs or issues.
You can also join our Discord.