This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.UI; | |
using UnityEngine.Purchasing.Security; | |
using CompleteProject; | |
public class ShopController : MonoBehaviour { | |
public Canvas shopCanvas; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Purchasing; | |
using UnityEngine.Analytics; | |
namespace CompleteProject | |
{ | |
// Deriving the Purchaser class from IStoreListener enables it to receive messages from Unity Purchasing. | |
public class Purchaser : MonoBehaviour, IStoreListener |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Purchasing; | |
using UnityEngine.Analytics; | |
namespace CompleteProject | |
{ | |
// Deriving the Purchaser class from IStoreListener enables it to receive messages from Unity Purchasing. | |
public class Purchaser : MonoBehaviour, IStoreListener |