using PublicTools.XMLDataBase;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XRTool.Util;
namespace XRTool.UI
{
///
/// 数据访问单例
///
///
public class DataConfMgr : Singleton>
{
private TableHelper tableHelper;
public TableHelper TableHelper { get => tableHelper; set => tableHelper = value; }
public void OpenTable(string priKey = null)
{
TableHelper.Open(priKey);
}
///
/// 打开某路径下的资源
///
///
public void OpenData(string path)
{
if (TableHelper == null)
{
TableHelper = new TableHelper(path);
}
}
}
}