Files
Studio/Assets/Scripts/XED/UI/Panel/Panel_AssetLibrary.cs
geondo55 6c83d36452 백업
2025-03-11 09:44:32 +09:00

26 lines
616 B
C#

using UnityEngine;
using XRLib.UI;
using XED.Hierarchy;
using UnityEngine.UI;
namespace XED.UI
{
public class Panel_AssetLibrary : PanelBase
{
public CustomScrollRect scrollRect;
public PooledScrollView scrollView;
public Button Button_Close;
private void Awake()
{
scrollRect = GetComponentInChildren<CustomScrollRect>();
scrollView = GetComponentInChildren<PooledScrollView>();
}
public override void AfterAwake()
{
Button_Close.onClick.AddListener(() => gameObject.SetActive(false));
}
}
}