To make an IAP request in an Unreal Engine game, you will need to add a single node called Make An in-App Purchase, assign the current player controller to it, and pass Product Identifier as a string from the iTunes Connect account. Then, you can make different scenarios based on the result. For example, if the player purchases a pack of in-game currency, you can add the amount of the currency to the player's profile on success or you can display an error message on the UI on failure.
Also, you can return the IAP information from the output In App Purchase Information and then you can break down this information into more detail by using the Break InAppPurchaseProductInfo node, which can give you different strings that you can use to display some messages to the player.
With another node called Read in App Purchase Information, you can pass all the product identifiers as an array string, and it will return all the information related to them. You can then use this information...
Learning Unreal Engine iOS Game Development
By :
Learning Unreal Engine iOS Game Development
By:
Overview of this book
Table of Contents (18 chapters)
Learning Unreal Engine iOS Game Development
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Prepare to Make Unreal Games with Unreal Engine – Installing and Setting Up
Methods and Tools to Create Your Games
Creating a Brick Breaking Game
Advanced Game Content Generation with a Fruit Chopper Game
Building an Exciting Endless Runner Game
Designing an Advanced Game
Monetizing Your Game
iOS Debugging and Optimization
Publishing
Nodes Database
Index
Customer Reviews