Skip to content

Commit 0a82f03

Browse files
committed
fix unity api warning
1 parent 2209c0c commit 0a82f03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/UnityWebSocket/Scripts/Editor/SettingsWindow.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using UnityEngine;
1+
using UnityEngine;
22
using UnityEditor;
33
using UnityEngine.Networking;
44
using System.IO;
@@ -164,7 +164,7 @@ void BeginCheck()
164164

165165
private void VersionCheckUpdate()
166166
{
167-
#if UNITY_2021_1_OR_NEWER
167+
#if UNITY_2020_3_OR_NEWER
168168
if (req == null
169169
|| req.result == UnityWebRequest.Result.ConnectionError
170170
|| req.result == UnityWebRequest.Result.DataProcessingError

0 commit comments

Comments
 (0)