using Framework; using Gameplay.Guide; public partial class TeamManager { private UIWindow _curFightPosterUI; public async void OpenFightPosterUI(uint uid = 0) { // if (GetSingleCharacByUid(uid).Type != SingleTeamCharacterInfo.CharacType.Hero) // { // return; // } if (_curFightPosterUI == null) { if(uid != 0) _curFightPosterUI = await UIPosterAndSkillInfoController.Open(uid); else _curFightPosterUI = await UIPosterAndSkillInfoController.Open(); } } public void CloseFightPosterUI() { UIManager.Instance.CloseWindow(UINameConst.UIFightPoster); _curFightPosterUI = null; } }