Establecer el proyecto UE4
- Open your UE4 project in Unreal Editor.
- For Blueprint projects only:
- Compile your UE4 project.
- Go to the
Content Browser and add aNew C++ Class with theNone parent node.
- Go to
Settings > Plugins > Installed > Xsolla Inventory SDK . Check theEnabled box and click theRestart Now button to save settings and reload the Unreal Editor.
- Specify project parameters:
- Go to
Settings > Project Settings > Plugins > Xsolla Login and specify the following parameters:
- Go to
- In the
Login ID andDemo Login ID fields, specify the Login ID from Publisher Account. - In the
Project ID andDemo Project ID fields, specify the Project ID from Publisher Account. - Enable
Use OAuth 2.0 option. - In the
Client ID field, specify Client ID received when setting up OAuth 2.0 in Publisher Account.
- In the
Nota
If you use your own authorization system, you do not need to fill in Login ID and Demo Login ID fields.
- Go to
Settings > Project Settings > Plugins > Xsolla Inventory and specify the following parameters:- Specify the Project ID in the
Project ID andDemo Project ID fields. - In the
Web Store URL field specify the site address of the in-game items store (optional).
- Specify the Project ID in the
- Go to
Nota
You can create the site for an in-game item store using Site Builder. When setting up Site Builder, use the same Login project as when setting up the Cross-Buy plug-in.
As a result, your project in Publisher Account will be connected to demo maps.
- Go to
Content Browser > View Options and check the boxes forShow Engine Content andShow Plugin Content .
- Go to
Content Browser > Xsolla Content > Maps and launch theDemo_Inventory map of the game. Make sure that the authorization and other functions are working correctly. - Design an interface for the login system and other pages for your application.
Nota
You can create your own solution by following UMG UI documentation, or use the demo scene as a template. To adapt the demo scene interface to your application, use the UI builder.
- Set up event handling according to your application logic using SDK methods. Follow the step-by-step tutorials to get started with basic SDK features.
Nota
To modify the SDK for your application specifics, follow the SDK modification instruction.
¿Te ha resultado útil este artículo?
¡Gracias por tu mensaje!
Nos ayudará a mejorar tu experiencia.Seguir leyendo
Última actualización:
10 de Octubre de 2023
¿Has encontrado una errata u otro error de texto? Selecciona el texto y pulsa Ctrl+Intro.