using NEG.UI.UnityUi.Window; using NEG.UI.UnityUi.WindowSlot; using NEG.UI.Window; using UnityEngine; namespace NEG.UI.UnityUi.Buttons.Reactions { [RequireComponent(typeof(BaseButton))] public class OpenWindow : ButtonReaction { [SerializeField] private MonoWindow window; [Header("Open on default area slot if empty")] [SerializeField] private MonoWindowSlot slot; protected override void OnClicked() => window.Open(slot); } }