better-ui-manager #2

Merged
BitterSmile merged 25 commits from better-ui-manager into main 2023-09-02 14:34:16 +02:00
Showing only changes of commit e30470d27a - Show all commits

View File

@ -6,6 +6,7 @@ using NEG.UI.WindowSlot;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
namespace NEG.UI.UnityUi.Window
{
@ -27,6 +28,7 @@ namespace NEG.UI.UnityUi.Window
{
gameObject.SetActive(true);
Parent = parentSlot;
EventSystem.current.SetSelectedGameObject(defaultSelectedItem);
if (controller != null)
controller.OnOpened();
}