private void OnGifLoaded(List <Texture2D> frames) { if (frames == null) { return; } fAnimation.Refresh(frames); fAnimation.Play(); showLoading = false; }
private void OnGifLoaded(List <Texture2D> frames) { progressBar.gameObject.SetActive(false); if (frames == null) { return; } var newFrames = frames.ConvertAll(item => { return(item as Texture); }); fAnimation.SetFrames(newFrames); fAnimation.Play(); }