Game/Library/PackageCache/com.unity.purchasing@2.1.1/Runtime/managed/Purchasing/PurchaseEventArgs.cs

20 lines
530 B
C#
Raw Normal View History

2021-01-16 18:29:12 +01:00
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; }
}
}