Compare commits

...

2 Commits

Author SHA1 Message Date
shenjianxing
94656992f2 Merge branch 'NewMaster' into LouDi_Quan 2025-04-23 10:16:15 +08:00
shenjianxing
4ce0b3e9cb 完善时间锁 2025-04-23 10:15:28 +08:00

View File

@ -14,15 +14,13 @@ public class DateManager : MonoBehaviour
public Button btn; public Button btn;
private void Awake() private void Awake()
{ {
ui.gameObject.SetActive(false);
btn.onClick.AddListener(() => btn.onClick.AddListener(() =>
{ {
Application.Quit(); Application.Quit();
}); });
UpdateTime(ShowTip, ShowTip); UpdateTime(ShowTip, ShowTip);
} }
private void Start()
{
}
public void ShowTip(string str) public void ShowTip(string str)
{ {