Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine.Purchasing
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Defines a reward that is paid to the player when an in-app purchase product is purchased.
|MaxDataLength||Represents the maximum allowed length for the data field on a PayoutDefinition.|
|MaxSubtypeLength||Represents the maximum allowed length for the subtype field on a PayoutDefinition.|
|data||A field for user-specified data.|
|quantity||The quantity of this payout.|
|subtype||The subtype of this payout.|
|type||The type of this payout.|
|typeString||A string representation of the type of this payout.|
|PayoutDefinition||Create a PayoutDefinition and define the values for the type, subtype, quantity, and data fields.|
Did you find this page useful? Please give it a rating: