Esempio n. 1
0
 /// <summary>
 /// Calls Unity IAPs RestoreTransactions method.
 /// It makes sense to add this to an UI button event.
 /// </summary>
 public void Restore()
 {
     #if UNITY_PURCHASING
     UnityIAPManager.RestoreTransactions();
     #endif
 }
 /// <summary>
 /// Calls Unity IAPs RestoreTransactions method.
 /// It makes sense to add this to an UI button event.
 /// </summary>
 public void Restore()
 {
     #if UNITY_ANALYTICS
     UnityIAPManager.RestoreTransactions();
     #endif
 }