2025-07-09 16:54:59 +08:00
|
|
|
|
using Base;
|
2025-07-09 11:35:52 +08:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
2025-07-09 16:54:59 +08:00
|
|
|
|
namespace Test
|
2025-07-09 11:35:52 +08:00
|
|
|
|
{
|
2025-07-12 22:06:38 +08:00
|
|
|
|
public class ClockTest : MonoBehaviour
|
2025-07-09 11:35:52 +08:00
|
|
|
|
{
|
2025-07-09 16:54:59 +08:00
|
|
|
|
private static float timer = 0;
|
|
|
|
|
|
2025-07-09 11:35:52 +08:00
|
|
|
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
2025-07-09 16:54:59 +08:00
|
|
|
|
private void Start()
|
2025-07-09 11:35:52 +08:00
|
|
|
|
{
|
2025-07-09 16:54:59 +08:00
|
|
|
|
var clock = Clock.Instance;
|
2025-07-09 11:35:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Update is called once per frame
|
|
|
|
|
//void Update()
|
|
|
|
|
//{
|
|
|
|
|
// if (Input.GetKeyUp(KeyCode.W))
|
|
|
|
|
// {
|
|
|
|
|
// SceneManager.LoadScene("SampleScene");
|
|
|
|
|
// }
|
|
|
|
|
// if (timer > 1)
|
|
|
|
|
// {
|
|
|
|
|
// timer -= 1;
|
2025-07-09 16:54:59 +08:00
|
|
|
|
// Debug.Log("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>ӳ<EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>");
|
2025-07-09 11:35:52 +08:00
|
|
|
|
// }
|
|
|
|
|
// timer += Time.deltaTime;
|
|
|
|
|
//}
|
|
|
|
|
}
|
2025-07-09 16:54:59 +08:00
|
|
|
|
}
|