Cute_demon_attacks/meng_yao/Assets/text_1.cs
2024-10-23 20:53:18 +08:00

24 lines
387 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class text_1 : MonoBehaviour
{
private text t1;
// Start is called before the first frame update
void Start()
{
t1 = this.GetComponent<text>();
t1.TimeEnd += test;
t1.upadte_time(1);
}
void test()
{
Debug.Log("计时器完成了!");
}
}