文档

Unity Engine

Unity Engine

bytes

Returns the contents of the fetched web page as a byte array (Read Only).
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UnityWebRequestWWWModule
警告
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.