Files
Studio/Assets/Scripts/XED/UI/Panel/Panel_AssetLibrary.cs
2025-02-19 17:24:26 +09:00

31 lines
835 B
C#

using UnityEngine;
using WI.UI;
using XED.Hierarchy;
namespace XED.UI
{
public class Panel_AssetLibrary : PanelBase
{
public CustomScrollRect scrollRect;
public PooledScrollView scrollView;
private void Awake()
{
scrollRect = GetComponentInChildren<CustomScrollRect>();
scrollView = GetComponentInChildren<PooledScrollView>();
UnityEngine.UI.Button btnClose = transform.Find("Button_Close").GetComponent<UnityEngine.UI.Button>();
btnClose.onClick.AddListener(() => gameObject.SetActive(false));
}
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
}