1234567891011121314151617181920212223242526272829303132 |
- using PublicTools.XMLDataBase;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using XRTool.Util;
- namespace XRTool.UI
- {
-
-
-
-
- public class DataConfMgr<T> : Singleton<DataConfMgr<T>>
- {
- private TableHelper<T> tableHelper;
- public TableHelper<T> 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<T>(path);
- }
- }
- }
- }
|