26 lines
616 B
C#
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));
|
|
}
|
|
}
|
|
}
|