void GetData()
 {
     purchaseManager = GetComponent <PurchaseManager>();
     data            = Resources.Load <DataShopItem>("Data/DataShopItem");
 }
Ejemplo n.º 2
0
 protected void Awake()
 {
     purchaseManager = GameObject.FindObjectOfType <PurchaseManager>();
     data            = Resources.Load <DataShopItem>("Data/DataShopItem");
     GetData();
 }