How to use snippets from demo project in your project
Note
The demo project already contains the SDK files. If you included a demo project in your Unity project, you don’t need to integrate the SDK.
- Import the demo project into your Unity project.
- To connect the demo project to your project in Publisher Account, specify project parameters in the
Inspector panel:- In the
Login ID field, specify the Login ID from Publisher Account. If you use your own authorization system, leave theLogin ID field empty. - In the
Project ID field, specify the project ID from Publisher Account.
- In the
- Change other settings in the
Inspector panel according to your needs (e.g., specify callback URL to redirect a user to after successful authentication, email confirmation, or password reset). - Customize prefabs.
- Customize UI:
- To create your own solution, follow Unity instructions.
- To adapt the demo scene UI to your application, use the UI builder.
- Modify callbacks and set up event handling according to your application logic using SDK methods.
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Found a typo or other text error? Select the text and press Ctrl+Enter.