30 lines
611 B
C#
30 lines
611 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Test : MonoBehaviour
|
|
{
|
|
public UpdateUserInfo updateUserInfo;
|
|
// 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))
|
|
{
|
|
await updateUserInfo.UpdateUserInformation();
|
|
Debug.Log(updateUserInfo.UpdateUserInformation());
|
|
}
|
|
}
|
|
}
|