Ejemplo n.º 1
0
 public static void OnUse(string item, int itemNumber)
 {
     if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor)
     {
         TDGAItem.GetAgent().CallStatic("onUse", new object[]
         {
             item,
             itemNumber
         });
     }
 }
Ejemplo n.º 2
0
 public static void OnPurchase(string item, int itemNumber, double priceInVirtualCurrency)
 {
     if (Application.platform != RuntimePlatform.OSXEditor && Application.platform != RuntimePlatform.WindowsEditor)
     {
         TDGAItem.GetAgent().CallStatic("onPurchase", new object[]
         {
             item,
             itemNumber,
             priceInVirtualCurrency
         });
     }
 }