17 lines
364 B
C#
17 lines
364 B
C#
using NEG.UI.UnityUi.Window;
|
|
using NEG.UI.Window;
|
|
using UnityEngine;
|
|
|
|
namespace NEG.UI.Area
|
|
{
|
|
public class AutoOpenWindowWhenNoOther : MonoBehaviour
|
|
{
|
|
[SerializeField] private MonoWindow window;
|
|
|
|
private void Start()
|
|
{
|
|
if (UiManager.Instance.CurrentMainWindow == null)
|
|
window.Open();
|
|
}
|
|
}
|
|
} |