23 lines
366 B
C#
23 lines
366 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class ServerApiTest : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private Image ApiTestUI_prefab;
|
|
|
|
private Image ApiTestUI;
|
|
|
|
private void Update()
|
|
{
|
|
if (Input.GetKey(KeyCode.LeftShift) && Input.GetKeyDown(KeyCode.B) && !ServerManager.Instance.apiTestRunning)
|
|
{
|
|
StartTest();
|
|
}
|
|
}
|
|
|
|
private void StartTest()
|
|
{
|
|
}
|
|
}
|