32 lines
899 B
C#
32 lines
899 B
C#
using UnityEngine;
|
|
using WI.UI;
|
|
using XED.Core;
|
|
using XED.Hierarchy;
|
|
|
|
namespace XED.UI
|
|
{
|
|
public class Panel_ComponentLibrary : PanelBase//UnityEngine.MonoBehaviour
|
|
{
|
|
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()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|