Files
Gen_Hack-and-Slash-Roguelite/Client/Assets/Scripts/Test/InitClock.cs
2025-07-09 11:35:52 +08:00

31 lines
754 B
C#

using UnityEngine;
using UnityEngine.SceneManagement;
namespace Cell
{
public class InitClock : MonoBehaviour
{
static float timer = 0;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
var clock= Clock.Instance;
}
// Update is called once per frame
//void Update()
//{
// if (Input.GetKeyUp(KeyCode.W))
// {
// SceneManager.LoadScene("SampleScene");
// }
// if (timer > 1)
// {
// timer -= 1;
// Debug.Log("Ö÷³¡¾°µÄʱÖÓ³õʼ»¯Æ÷");
// }
// timer += Time.deltaTime;
//}
}
}