protected virtual Texture[] LoadGif(Gif gif)
        {
            var frames   = gif.GetFrames();
            var textures = new Texture[frames.Length];

            for (int i = 0; i < frames.Length; i++)
            {
                textures[i] = TextureManager.instance.GetTexture(frames[i]);
            }
            return(textures);
        }