Update TipsUI.cs

This commit is contained in:
ALEXTANG
2022-06-07 20:25:21 +08:00
parent 618b15b717
commit 6ee4665074

View File

@@ -11,7 +11,6 @@ namespace UI
protected override void RegisterEvent()
{
base.RegisterEvent();
//GameEventMgr.Instance.AddEventListener<string>(TipsEvent.Log, TipsUI.Instance.Show);
}
}
@@ -50,12 +49,11 @@ namespace UI
private float timer2;
void Start()
{
//GameEventMgr.Instance.AddEventListener<string>(TipsEvent.Log, Show);
}
void Update()
{
//如果一定时间内没有新消息,则挨个消失
timer1 += Time.deltaTime;
if (timer1 >= 2)
{