using ShadowStudio.Model; using System; using System.Collections; using System.Collections.Generic; using System.Text; using UnityEngine; using UnityEngine.UI; using XRTool.WorldUI; namespace XRTool.UI { /// /// 滑动菜单列表 /// public class ScrollMenuDlg : MonoBehaviour { private XRScrollRect scroll; public ScrollConf scrollConf; /// /// 选中的选项 /// public event Action OnSelectIteam; /// /// /// private void Start() { scroll = GetComponent(); if (scroll && scrollConf) { scrollConf.InitData(scroll); scroll.InitData(scrollConf.iteamConfs.Count, scrollConf.showCount, scrollConf.cellSize, scrollConf.cellSpace, scrollConf.iteamPrefab); } } /// /// 资源的下载 /// /// public void SetData(List artList) { } } }