public static void Init()
 {
     if (InAppPurchaseHelper.CheckReceipt(remove_ads))
     {
         PlayerPrefs.SetInt(PREF_NO_ADS, 1);
     }
     else
     {
         PlayerPrefs.SetInt(PREF_NO_ADS, 0);
     }
     SetupNoAds();
 }
 void CheckDisableIfOwned()
 {
     if ((disableIfOwned && productData.productType == UnityEngine.Purchasing.ProductType.NonConsumable && InAppPurchaseHelper.CheckReceipt(productData.ProductId)) ||
         (disableIfAdRemoved && IAPProcessor.CheckNoAds()))
     {
         gameObject.SetActive(false);
     }
 }