NLDClient-yudde/ProjectNLD/Assets/Code/Scripts/Gameplay/Team/TeamManager.UI.cs

24 lines
595 B
C#
Raw Normal View History

using Framework;
2024-07-03 14:07:54 +08:00
using Gameplay.Guide;
public partial class TeamManager
{
private UIWindow _curFightPosterUI;
public async void OpenFightPosterUI(uint uid)
{
2024-03-28 16:13:10 +08:00
if (GetSingleCharacByUid(uid).Type != SingleTeamCharacterInfo.CharacType.Hero)
{
return;
}
if (_curFightPosterUI == null)
{
_curFightPosterUI = await UIPosterAndSkillInfoController.Open(uid);
}
}
public void CloseFightPosterUI()
{
UIManager.Instance.CloseWindow(UINameConst.UIFightPoster);
_curFightPosterUI = null;
}
}