mirror of
https://github.com/smyalygames/monopoly.git
synced 2025-05-18 06:14:10 +02:00
13 lines
275 B
C#
13 lines
275 B
C#
using UnityEngine.Networking;
|
|
|
|
namespace Mirror.Cloud
|
|
{
|
|
public static class Extensions
|
|
{
|
|
public static bool IsOk(this UnityWebRequest webRequest)
|
|
{
|
|
return 200 <= webRequest.responseCode && webRequest.responseCode <= 299;
|
|
}
|
|
}
|
|
}
|