2026-05-06 15:07:56 +02:00

17 lines
422 B
C#

using UnityEngine;
namespace DuloGames.UI
{
public class UICloseAndShowWindow : MonoBehaviour
{
[SerializeField] private UIWindow m_CloseWindow;
[SerializeField] private UIWindow m_ShowWindow;
public void CloseAndShow()
{
if (this.m_CloseWindow != null) this.m_CloseWindow.Hide();
if (this.m_ShowWindow != null) this.m_ShowWindow.Show();
}
}
}