1
This commit is contained in:
@@ -270,7 +270,11 @@ namespace Stary.Evo
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
#if UNITY_2021_3_OR_NEWER
|
||||||
|
using (UnityWebRequest webRequest = UnityWebRequest.Post(url, postData)) //第二种写法此行注释
|
||||||
|
#else
|
||||||
using (UnityWebRequest webRequest = UnityWebRequest.PostWwwForm(url, postData)) //第二种写法此行注释
|
using (UnityWebRequest webRequest = UnityWebRequest.PostWwwForm(url, postData)) //第二种写法此行注释
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
byte[] postBytes = System.Text.Encoding.UTF8.GetBytes(postData);
|
byte[] postBytes = System.Text.Encoding.UTF8.GetBytes(postData);
|
||||||
webRequest.uploadHandler = new UploadHandlerRaw(postBytes);
|
webRequest.uploadHandler = new UploadHandlerRaw(postBytes);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "com.staryevo.main",
|
"name": "com.staryevo.main",
|
||||||
"version": "1.3.31",
|
"version": "1.3.32",
|
||||||
"displayName": "00.StaryEvo",
|
"displayName": "00.StaryEvo",
|
||||||
"description": "This is an Framework package(后台服务器版本,端口9527)",
|
"description": "This is an Framework package(后台服务器版本,端口9527)",
|
||||||
"unity": "2021.3",
|
"unity": "2021.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user