Class WWW
Assembly: UnityEngine.dll
Syntax
[Obsolete("Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features")]
public class WWW : CustomYieldInstruction, IEnumerator, IDisposable
Constructors
|
Improve this Doc
View Source
WWW(String)
Declaration
Parameters
Type |
Name |
Description |
String |
url |
|
|
Improve this Doc
View Source
WWW(String, Byte[])
Declaration
public WWW(string url, byte[] postData)
Parameters
|
Improve this Doc
View Source
WWW(String, Byte[], Dictionary<String, String>)
Declaration
public WWW(string url, byte[] postData, Dictionary<string, string> headers)
Parameters
|
Improve this Doc
View Source
WWW(String, Byte[], Hashtable)
Declaration
[Obsolete("This overload is deprecated. Use UnityEngine.WWW.WWW(string, byte[], System.Collections.Generic.Dictionary<string, string>) instead.")]
public WWW(string url, byte[] postData, Hashtable headers)
Parameters
|
Improve this Doc
View Source
Declaration
public WWW(string url, WWWForm form)
Parameters
Properties
|
Improve this Doc
View Source
assetBundle
Declaration
public AssetBundle assetBundle { get; }
Property Value
|
Improve this Doc
View Source
bytes
Declaration
public byte[] bytes { get; }
Property Value
|
Improve this Doc
View Source
bytesDownloaded
Declaration
public int bytesDownloaded { get; }
Property Value
|
Improve this Doc
View Source
error
Declaration
public string error { get; }
Property Value
|
Improve this Doc
View Source
isDone
Declaration
public bool isDone { get; }
Property Value
|
Improve this Doc
View Source
keepWaiting
Declaration
public override bool keepWaiting { get; }
Property Value
Overrides
|
Improve this Doc
View Source
progress
Declaration
public float progress { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public Dictionary<string, string> responseHeaders { get; }
Property Value
|
Improve this Doc
View Source
size
Declaration
[Obsolete("WWW.size is obsolete. Please use WWW.bytesDownloaded instead")]
public int size { get; }
Property Value
|
Improve this Doc
View Source
text
Declaration
public string text { get; }
Property Value
|
Improve this Doc
View Source
texture
Declaration
public Texture2D texture { get; }
Property Value
|
Improve this Doc
View Source
textureNonReadable
Declaration
public Texture2D textureNonReadable { get; }
Property Value
|
Improve this Doc
View Source
threadPriority
Declaration
public ThreadPriority threadPriority { get; set; }
Property Value
|
Improve this Doc
View Source
uploadProgress
Declaration
public float uploadProgress { get; }
Property Value
|
Improve this Doc
View Source
url
Declaration
public string url { get; }
Property Value
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
EscapeURL(String)
Declaration
public static string EscapeURL(string s)
Parameters
Type |
Name |
Description |
String |
s |
|
Returns
|
Improve this Doc
View Source
EscapeURL(String, Encoding)
Declaration
public static string EscapeURL(string s, Encoding e)
Parameters
Returns
|
Improve this Doc
View Source
GetAudioClip()
Declaration
public AudioClip GetAudioClip()
Returns
|
Improve this Doc
View Source
GetAudioClip(Boolean)
Declaration
public AudioClip GetAudioClip(bool threeD)
Parameters
Type |
Name |
Description |
Boolean |
threeD |
|
Returns
|
Improve this Doc
View Source
GetAudioClip(Boolean, Boolean)
Declaration
public AudioClip GetAudioClip(bool threeD, bool stream)
Parameters
Returns
|
Improve this Doc
View Source
GetAudioClip(Boolean, Boolean, AudioType)
Declaration
public AudioClip GetAudioClip(bool threeD, bool stream, AudioType audioType)
Parameters
Returns
|
Improve this Doc
View Source
GetAudioClipCompressed()
Declaration
public AudioClip GetAudioClipCompressed()
Returns
|
Improve this Doc
View Source
GetAudioClipCompressed(Boolean)
Declaration
public AudioClip GetAudioClipCompressed(bool threeD)
Parameters
Type |
Name |
Description |
Boolean |
threeD |
|
Returns
|
Improve this Doc
View Source
GetAudioClipCompressed(Boolean, AudioType)
Declaration
public AudioClip GetAudioClipCompressed(bool threeD, AudioType audioType)
Parameters
Returns
|
Improve this Doc
View Source
GetMovieTexture()
Declaration
[Obsolete("MovieTexture is deprecated. Use VideoPlayer instead.", false)]
public MovieTexture GetMovieTexture()
Returns
|
Improve this Doc
View Source
LoadFromCacheOrDownload(String, Int32)
Declaration
public static WWW LoadFromCacheOrDownload(string url, int version)
Parameters
Returns
|
Improve this Doc
View Source
LoadFromCacheOrDownload(String, Int32, UInt32)
Declaration
public static WWW LoadFromCacheOrDownload(string url, int version, uint crc)
Parameters
Returns
|
Improve this Doc
View Source
LoadFromCacheOrDownload(String, CachedAssetBundle, UInt32)
Declaration
public static WWW LoadFromCacheOrDownload(string url, CachedAssetBundle cachedBundle, uint crc = 0U)
Parameters
Returns
|
Improve this Doc
View Source
LoadFromCacheOrDownload(String, Hash128)
Declaration
public static WWW LoadFromCacheOrDownload(string url, Hash128 hash)
Parameters
Returns
|
Improve this Doc
View Source
LoadFromCacheOrDownload(String, Hash128, UInt32)
Declaration
public static WWW LoadFromCacheOrDownload(string url, Hash128 hash, uint crc)
Parameters
Returns
|
Improve this Doc
View Source
LoadImageIntoTexture(Texture2D)
Declaration
public void LoadImageIntoTexture(Texture2D texture)
Parameters
|
Improve this Doc
View Source
UnEscapeURL(String)
Declaration
public static string UnEscapeURL(string s)
Parameters
Type |
Name |
Description |
String |
s |
|
Returns
|
Improve this Doc
View Source
UnEscapeURL(String, Encoding)
Declaration
public static string UnEscapeURL(string s, Encoding e)
Parameters
Returns
Implements
Extension Methods