Files
Gen_Hack-and-Slash-Roguelit…/Client/Assets/Scripts/Test/InitClock.cs

31 lines
754 B
C#
Raw Normal View History

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("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>ӳ<EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>");
// }
// timer += Time.deltaTime;
//}
}
}