24 lines
587 B
C#
24 lines
587 B
C#
using Gameplay.Unit;
|
|
|
|
namespace Gameplay.Level.FightInfo
|
|
{
|
|
public partial class FightInfoManager
|
|
{
|
|
private static UIWindow _fightInfoWindow;
|
|
|
|
public static async void CreateFightInfoWindow()
|
|
{
|
|
if (_fightInfoWindow == null)
|
|
{
|
|
_fightInfoWindow = await UI_FightInfoTipController.Open();
|
|
_fightInfoWindow.HideWindow();
|
|
}
|
|
}
|
|
|
|
public static void RemoveFightInfoWindow()
|
|
{
|
|
_fightInfoWindow.CloseWindow();
|
|
_fightInfoWindow = null;
|
|
}
|
|
}
|
|
} |