Newer
Older
using UnityEngine.Networking;
namespace Wander
{
public class VectorTile
{
internal UnityWebRequestAsyncOperation request;
}
public static class VectorTileLoader
{
public static VectorTile LoadFromUrl( string url )
{
VectorTile tile = new VectorTile();
tile.request = UnityWebRequest.Get( url ).SendWebRequest();
return tile;
}
}
}