示例#1
0
    private void OnThumbnailClicked()
    {
        if (OutrunRealmDataProvider.isLoadingComlete == false)
        {
            return;
        }

        _gallery.SetImages(OutrunRealmDataProvider.galleryData.images);
        _galleryGO.SetActive(true);
        _gallery.Show();
    }
示例#2
0
    void Update()
    {
        if (_isLoaded)
        {
            return;
        }

        if (OutrunRealmDataProvider.isLoadingComlete == false)
        {
            return;
        }

        _isLoaded = true;
        _gallery.SetImages(OutrunRealmDataProvider.galleryData.images);
        _gallery.Show();
    }