public async Task <ITextureDownload> RequestTexture(Uri url, bool nonReadable)
        {
            var req = new AwaitableTextureDownload(url, nonReadable);

            while (req.MoveNext())
            {
                await Task.Yield();
            }
            return(req);
        }
        /// <summary>
        /// Sends a URI request to load a texture
        /// </summary>
        /// <param name="url">URI to request</param>
        /// <param name="nonReadable">If true, resulting texture is not CPU readable (uses less memory)</param>
        /// <returns>Object representing the request</returns>
#pragma warning disable CS1998
        public async Task <ITextureDownload> RequestTexture(Uri url, bool nonReadable)
        {
#pragma warning restore CS1998
#if UNITY_WEBREQUEST_TEXTURE
            var req = new AwaitableTextureDownload(url, nonReadable);
            while (req.MoveNext())
            {
                await Task.Yield();
            }
            return(req);
#else
            return(null);
#endif
        }