-
Notifications
You must be signed in to change notification settings - Fork 11
Optimize http requests - IFileSource: replace UnityWebRequest with WWW #30
Comments
I spent 5 minutes converting Rather than replacing UnityWebRequest, I think we should make a different concrete version of The other thing to look out for with WWW is making it cancelable. I'm very surprised there isn't more discussion about this on the internet, given how much this affects so many developers . . . |
Oops, my bad I added the
Yes, noticed that too - that's not good. |
If you throw this on a branch today, I can test on iOS. 😄 |
Working branch is here: https://github.com/mapbox/mapbox-sdk-unity-core/tree/optimize-http-requests It's not yet completely usable, but that's the HTTPRequest.cs using Maybe you could just replace the file? EDIT --> |
FWIW, this should not be a replacement, but an additional option. |
refs #11
background: https://github.com/mapbox/mapbox-go/issues/28
https://docs.unity3d.com/ScriptReference/WWW.html
The text was updated successfully, but these errors were encountered: