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(); }
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; }
public void Refresh(IList <PhotoData> photos) { dynamicContent.Init(content, template, photoViews, photos); }