using System.Collections.Generic; using UnityEngine; using Newtonsoft.Json; namespace Rokid.UXR.Module { public class DeviceFuncMatchInfos { private static List info; public static List GetInfos() { if (info == null) { info = Newtonsoft.Json.JsonConvert.DeserializeObject>(Resources.Load("Configs/DeviceFuncMatchInfo").ToString()); } return info; } } [System.Serializable] public class DeviceFuncMatchInfo { /// 编号 public int Id; /// 功能名 public string FuncName; /// 眼镜Model名 public string GlassDeviceModels; /// 是否需要相机 public int UseCamera; } }