16 lines
369 B
C#
16 lines
369 B
C#
using NEG.UI.UnityUi.Window;
|
|
using NEG.UI.Window;
|
|
using System;
|
|
using KBCore.Refs;
|
|
using UnityEngine;
|
|
|
|
namespace NEG.UI.Area
|
|
{
|
|
[Tooltip(tooltip: "Automatically open attached window on start")]
|
|
public class AutoWindowOpen : MonoBehaviour
|
|
{
|
|
[SerializeField] private MonoWindow window;
|
|
|
|
private void Start() => window.Open();
|
|
}
|
|
} |