public void GetItems() { if (!storeLoader) storeLoader = this.gameObject.GetComponent<NGUIStoreLoader>(); WebserviceCalls.webservice.GetStoreItems(ItemSystemGameData.AppID.ToString(), OnReceivedStoreItems); }
void Start() { if (!webservicecalls) webservicecalls = GameObject.Find("WebserviceCalls").GetComponent<WebserviceCalls>(); if (!storeLoader) storeLoader = this.gameObject.GetComponent<NGUIStoreLoader>(); webservicecalls.GetStoreItems(appID, OnReceivedStoreItems); }
public void GetItems() { if (!storeLoader) { storeLoader = this.gameObject.GetComponent <NGUIStoreLoader>(); } WebserviceCalls.webservice.GetStoreItems(ItemSystemGameData.AppID.ToString(), OnReceivedStoreItems); }
void Start() { if (!webservicecalls) { webservicecalls = GameObject.Find("WebserviceCalls").GetComponent <WebserviceCalls>(); } if (!storeLoader) { storeLoader = this.gameObject.GetComponent <NGUIStoreLoader>(); } webservicecalls.GetStoreItems(appID, OnReceivedStoreItems); }