文档

Unity Engine

Unity Engine

isHttpError

Returns true after this UnityWebRequest receives an HTTP response code indicating an error. (Read Only)
阅读时间1 分钟最后更新于 24 天前

Definition

警告
Deprecated. UnityWebRequest.isHttpError is deprecated. Use (UnityWebRequest.result == UnityWebRequest.Result.ProtocolError) instead.
public bool isHttpError { get; }

Remarks

True on response codes greater than or equal to 400.