Files
back_cantanBuilding/Assets/Scripts/UI/Home/HomePanel_OpenBox.cs
2026-05-26 16:15:54 +08:00

24 lines
570 B
C#

using asap.core;
using cfg;
using game;
using GameCore;
using System.Collections.Generic;
public partial class HomePanel
{
bool AquariumUpdate()
{
var _dataProvider = GContext.container.Resolve<FishingBoxDataProvier>();
Dictionary<int, int> FishingBoxs = _dataProvider.Data.FishingBoxs;
foreach (var item in FishingBoxs)
{
if (item.Value > 0)
{
UIManager.Instance.ShowUI(UITypes.AquariumUpdatePopupPanel);
return true;
}
}
return false;
}
}