2024-10-23 20:53:18 +08:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
public class text_1 : MonoBehaviour
|
|
|
|
|
{
|
2024-10-28 10:57:19 +08:00
|
|
|
|
|
2024-10-23 20:53:18 +08:00
|
|
|
|
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("<22><>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˣ<EFBFBD>");
|
|
|
|
|
}
|
|
|
|
|
}
|