private void OnThumbnailClicked() { if (OutrunRealmDataProvider.isLoadingComlete == false) { return; } _gallery.SetImages(OutrunRealmDataProvider.galleryData.images); _galleryGO.SetActive(true); _gallery.Show(); }
void Update() { if (_isLoaded) { return; } if (OutrunRealmDataProvider.isLoadingComlete == false) { return; } _isLoaded = true; _gallery.SetImages(OutrunRealmDataProvider.galleryData.images); _gallery.Show(); }