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

23 lines
573 B
C#
Raw Normal View History

using Framework;
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;
}
}