We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34f8358 commit 4c3dfe8Copy full SHA for 4c3dfe8
1 file changed
Assets/Others/Script/SupportPhoneStat.cs
@@ -69,11 +69,15 @@ IEnumerator ReportEnterScene()
69
70
public static void GetSupportedStat(OnResponse onRsp)
71
{
72
- if (instance == null) { onRsp(null); return; }
+ if (instance == null)
73
+ {
74
+ Debug.LogError("SupportPhoneStat instance = null");
75
+ onRsp(null); return;
76
+ }
77
instance.StartCoroutine(FetchSupportedStat(onRsp));
78
}
79
- static IEnumerator FetchSupportedStat(OnResponse onRsp)
80
+ public static IEnumerator FetchSupportedStat(OnResponse onRsp)
81
82
string req = HOST + "/index.php/PatchRecord/dump_stat";
83
UnityWebRequest www = UnityWebRequest.Get(req);
0 commit comments