Ive been trying check for receipts in my game but I'm not sure how to use m_receipts. I've tried Contains but I get "The best overloaded method match for `System.Collections.Generic.List<OuyaSDK.Receipt>.Contains(OuyaSDK.Receipt)' has some invalid arguments"
Comments
foreach (OuyaSDK.Receipt receipt in m_receipts)
{
receiptIdentifier.Add(string.Format("ReceiptListCompleteListener Receipt id={0} price={1} purchaseDate={2} generatedDate={3}",
receipt.getIdentifier(),
receipt.getPriceInCents(),
receipt.getPurchaseDate(),
receipt.getGeneratedDate()));
}
private void OnGUI()
{
foreach(String str in receiptIdentifier)
{
GUILayout.Label (str);
}
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].