SDK pour Unity destinés aux entreprises / Configurer le SDK
  Retour à la documentation

SDK pour Unity destinés aux entreprises

Configurer le SDK

  1. Open your Unity project.
  2. Click Window > Xsolla > Edit Settings in the main menu.
  3. Specify the main project parameters in the Inspector panel in one of the following ways:
    1. Import settings from Publisher Account:
      1. Click Fill settings by PA.
      2. Specify Publisher Account authorization data in the Login and Password fields.
      3. Click Log In.
      4. Fill in the fields in the Publisher Account section.
      1. Click Apply Settings.
Note
If you use a social network to register in Publisher Account, you need to add a password in one of the following ways to be able to import settings from your Publisher Account:
  • On the sign-up/login page of Publisher Account, click Forgot your password? and follow the instructions.
  • Specify a new password in Publisher Account in the Profile settings > Change password section (in the Current password field, enter an arbitrary value).
    1. Specify the parameters manually:
      1. In the Project ID field, specify the project ID that can be found in Publisher Account next to the name of your project.
      2. In the Login ID field, specify the ID of the Login project. To get it, open Publisher Account, go to the Login > Dashboard > your Login project section, and click Copy ID next to the name of the Login project.
      3. In the Callback URL field, specify the URL or path where users are redirected after they have successfully authenticated, confirmed their email, or reset their password. The value must match the one specified in Publisher Account in the Login > your Login project > Security > OAuth 2.0 section.
Note
If the Callback URL field is empty, app://xlogin.<APP_ID> is used for redirection, where <APP_ID> is the application ID from Edit > Project Settings > Player > Android (iOS) > Other Settings > Bundle Identifier. The same value must be added in Publisher Account in the Login > your Login project > Security > OAuth 2.0 section.
      1. In the OAuth Client ID field, specify client ID for OAuth 2.0 that can be found in Publisher Account in the Login > your Login project > Security > OAuth 2.0 section.
  1. Set other settings if necessary (e.g., display options for the payment UI in the Pay Station UI section).
Cet article vous a été utile ?
Merci !
Que pouvons-nous améliorer ? Message
Nous sommes désolés de l'apprendre
Dites-nous pourquoi vous n'avez pas trouvé cet article utile. Message
Merci pour votre commentaire !
Nous examinerons votre message et l'utiliserons pour améliorer votre expérience.
Dernière mise à jour: 10 Octobre 2023

Faute de frappe ou autre erreur dans le texte ? Sélectionnez le texte concerné et appuyez sur Ctrl+Entée.

Signaler un problème
Nous améliorons continuellement notre contenu grâce à vos commentaires.
Indiquez votre adresse e-mail pour un suivi
Merci pour votre commentaire !