Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bytes

Returns the contents of the fetched web page as a byte array (Read Only).
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UnityWebRequestWWWModule
Warning
Deprecated. Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features
public byte[] bytes { get; }

Remarks

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