心跳包

This commit is contained in:
wulongxiao 2024-12-19 15:25:25 +08:00
parent 8fb8460d04
commit d1cc7a3b0b
2 changed files with 6 additions and 1 deletions

@ -1 +1 @@
Subproject commit f9085935d5427ccc6ac969d9721c841354f63e43
Subproject commit 8fde270423daa41bf2968599462aafe4bac70722

View File

@ -87,6 +87,11 @@ public class AssetsPanel : MonoBehaviour
isUpdating = false;
}
private void OnEnable()
{
InvokeRepeating("UpDateText", 1f, 1f);
}
private void OnDisable()
{
CancelInvoke("UpDateText");