Class UnityWebRequestTileFetcher
public sealed class UnityWebRequestTileFetcher : ITileFetcher, IDisposable
- Inheritance
-
objectUnityWebRequestTileFetcher
- Implements
Constructors
UnityWebRequestTileFetcher(int, string, bool)
public UnityWebRequestTileFetcher(int slotCount, string userAgent, bool sendUserAgentHeader = true)
Parameters
Properties
SendsUserAgentHeader
public bool SendsUserAgentHeader { get; }
Property Value
SlotCount
public int SlotCount { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
IsFree(int)
public bool IsFree(int slot)
Parameters
slotint
Returns
LastError(int)
public TileFetchError LastError(int slot)
Parameters
slotint
Returns
Poll(int, out TileCoord, out float, out byte[], out int)
public FetchStatus Poll(int slot, out TileCoord tile, out float progress, out byte[] bytes, out int length)
Parameters
Returns
Release(int)
public void Release(int slot)
Parameters
slotint
Start(int, TileCoord, string)
public void Start(int slot, TileCoord tile, string url)