update window
This commit is contained in:
parent
4239816cd8
commit
e30470d27a
@ -6,6 +6,7 @@ using NEG.UI.WindowSlot;
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
|
||||||
namespace NEG.UI.UnityUi.Window
|
namespace NEG.UI.UnityUi.Window
|
||||||
{
|
{
|
||||||
@ -27,6 +28,7 @@ namespace NEG.UI.UnityUi.Window
|
|||||||
{
|
{
|
||||||
gameObject.SetActive(true);
|
gameObject.SetActive(true);
|
||||||
Parent = parentSlot;
|
Parent = parentSlot;
|
||||||
|
EventSystem.current.SetSelectedGameObject(defaultSelectedItem);
|
||||||
if (controller != null)
|
if (controller != null)
|
||||||
controller.OnOpened();
|
controller.OnOpened();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user