37 lines
781 B
C#
37 lines
781 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Test : MonoBehaviour
|
|
{
|
|
|
|
public UpdateUserInfo updateUserInfo;
|
|
public int sec;
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
updateUserInfo = new UpdateUserInfo();
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
TestButton();
|
|
|
|
|
|
}
|
|
public async void TestButton()
|
|
{
|
|
if(Input.GetKey(KeyCode.X))
|
|
{
|
|
sec = selectGameEscape512.instance.carrySeconds;
|
|
Debug.Log("nnnnnnnnnnnnnnnn"+sec);
|
|
|
|
|
|
await updateUserInfo.UpdateUserInformation();
|
|
Debug.Log(updateUserInfo.UpdateUserInformation());
|
|
|
|
}
|
|
}
|
|
}
|