Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

Purchasing: the name StandardPurchasingModule does not exist in current context.

$
0
0
Code (CSharp):
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.Purchasing;
  5.  
  6.  
  7. // Deriving the Purchaser class from IStoreListener enables it to receive messages from Unity Purchasing.
  8. public class Purchaser : MonoBehaviour, IStoreListener
  9. {
  10.  
  11. public void InitializePurchasing()
  12.     {
  13.         // If we have already connected to Purchasing ...
  14.         if (IsInitialized())
  15.         {
  16.             // ... we are done here.
  17.             return;
  18.         }
  19.  
  20.         //...
Purchasing: the name StandardPurchasingModule does not exist in current context.

Viewing all articles
Browse latest Browse all 10823