Exemple #1
0
    void OnStoreLoaded(Object asset)
    {
        //Debug.Log("OnStoreLoaded");
        storeItems = asset as ScriptableStoreItems;
        itemsRef   = new Dictionary <string, ScriptableStoreItem>();
        foreach (ScriptableStoreItem item in storeItems.items)
        {
            itemsRef[item.GetThisPlatformId()] = item;
        }

        //RetrieveItemHashesInStoreBundle();
        //OnHashesReady();

        //StartCoroutine(RetrieveItemHashesFromManifestServerFiles());

        StartCoroutine(RetrieveItemHashesFromManifestServerBundles());
    }
Exemple #2
0
 void OnStoreReady(ScriptableStoreItems items)
 {
     // populate items
     loading.SetActive(false);
     PopulateItems();
 }