using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Rokid.MRC { public enum UIType { Connection, Confirm, Tips, } public class UIData { public UIType uiType; public string uiPrefabPath; public int uiDepth; public bool ignoreOpen; public UIData(UIType tp, string path, int depth, bool ignore) { uiType = tp; uiPrefabPath = path; uiDepth = depth; ignoreOpen = ignore; } } public static class UIDefines { public static UIData[] UIDataList = new UIData[] { new UIData(UIType.Connection,"UIConnectPanel",1, true), new UIData(UIType.Confirm,"UIConfirmPanel",100,true), new UIData(UIType.Tips,"UITipsPanel",101,true), }; } }