Beispiel #1
0
        public void Show(IList <FloorData> floors, IList <int> queued, int selected)
        {
            Unsubscribe();
            dynamicContent.Init(buttonsContent, buttonTemplate, buttons, floors);
            resetButton.transform.SetAsLastSibling();
            Subscribe();

            Refresh(queued, selected);

            panel.Show();
        }
Beispiel #2
0
    public void Init()
    {
        DynamicContent.Init(URL_SERVER_ROOT);
        //DynamicContent.UseCloudFrontAddress(URL_BUNDLE_BASE_ADDRESS, URL_SERVER_ROOT);
        //IsBackgroundMode = false;

        downloadList.Clear();
        checkUpdateList.Clear();

        if (PlayerPrefs.HasKey("ForceCleanCache"))
        {
            CleanIndexStorageList();
            Caching.CleanCache();
            PlayerPrefs.DeleteKey("ForceCleanCache");
            PlayerPrefs.Save();
        }

        IsDownloadManagerInited = true;
    }
Beispiel #3
0
 public void Refresh(IList <PhotoData> photos)
 {
     dynamicContent.Init(content, template, photoViews, photos);
 }