20 lines
530 B
C#
20 lines
530 B
C#
|
namespace UnityEngine.Purchasing
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// A purchase that succeeded, including the purchased product
|
||
|
/// along with its purchase receipt.
|
||
|
/// </summary>
|
||
|
public class PurchaseEventArgs
|
||
|
{
|
||
|
internal PurchaseEventArgs(Product purchasedProduct)
|
||
|
{
|
||
|
this.purchasedProduct = purchasedProduct;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// The product which was purchased successfully.
|
||
|
/// </summary>
|
||
|
public Product purchasedProduct { get; private set; }
|
||
|
}
|
||
|
}
|