Manual     Reference     Scripting  
  
Scripting > Runtime Classes > WWW   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • WWW
  • All Members
  • Variables
  • assetBundle
  • bytes
  • error
  • isDone
  • movie
  • progress
  • text
  • texture
  • threadPriority
  • uploadProgress
  • url
  • Constructors
  • WWW
  • Functions
  • GetAudioClip
  • LoadImageIntoTexture
  • LoadUnityWeb
  • Class Functions
  • EscapeURL
  • LoadFromCacheOrDownload
  • UnEscapeURL

WWW.bytes  

var bytes : byte[]

Description

Returns the contents of the fetched web page as a byte array (Read Only).

If the object has not finished downloading the data, it will return an empty byte array. Use isDone or yield to see if the data is available.

See Also: bytes property.