This commit is contained in:
hyskai 2024-10-30 22:00:36 +08:00
parent 598f279303
commit 291ac4bb27
3 changed files with 24 additions and 9 deletions

View File

@ -43,14 +43,14 @@ public class mount : MonoBehaviour
/*
Register register = new Register();
register.Phone = "13667637952";
string jsonString = JsonUtility.ToJson(register);
string response_1 = await web.SendRequest("http://47.109.133.52/Player/Login", "POST", jsonString);
Debug.Log(response_1);
*/
//string response_2 = await web.SendRequest("http://47.109.133.52/MinerElf/GetList", "POST");
//Debug.Log(response_2);

View File

@ -131,6 +131,23 @@ public class jinsha : mount
});
//委托会导致临时变量之采用最终的
/*for (int i = 0, j = 0; i < gameObjects.Count; i++)
{
if (i % 3 != 0)
{
gameObjects[i].GetComponent<input_box_pop_up_window_item>().register_click(async (BoxType boxType, int type) =>//登录确定或取消
{
if (type == 1)
{
OnType?.Invoke(j, 1);
Debug.LogError("i="+i+",J="+j);
}
});
j++;
}
}*/
}

View File

@ -54,11 +54,7 @@ public class room : MonoBehaviour
jinsha.intance.OnType -= addtools;
}
// Update is called once per frame
void Update()
{
}
private async void OnTouch()
{
@ -251,3 +247,5 @@ public class room : MonoBehaviour
}
}