using ShadowStudio.Model; using Studio.Scripts; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using XRTool.Util; using XRTool.WorldUI; namespace ShadowStudio.UI { [RequireComponent(typeof(WorldDlg))] public class PersonalFileDlg : UnitySingleton { private PersonalFileList personalFileList; private Transform wuwenjian; private Button closeBtn; private Button loadBtn; private Button canelBtn; public List NeedLoadartInfos; public Action ShowOrHideGrayImage; public Action CanelLoadAction; protected override void Awake() { base.Awake(); HomeProxy.Instance.SearchArtListAction += SearchArtList; HomeProxy.Instance.NoArtReturnAction += ShowNoArt; NeedLoadartInfos = new List(); } // Start is called before the first frame update void Start() { WorldDlg dlg = GetComponent(); personalFileList = dlg.GetBreadthChild("ItemFileList"); wuwenjian = dlg.GetBreadthChild("Wuwenjian"); closeBtn = dlg.GetBreadthChild