1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- namespace XRTool.Util
- {
- public class BuildConfigMgr : Singleton<BuildConfigMgr>
- {
- private bool isInit = false;
- public BuildConfigMgr()
- {
- if (!BuildConfig.Instance)
- {
- BuildConfig.Instance = Resources.Load<BuildConfig>("BuildConfig");
- }
- isInit = BuildConfig.Instance;
- BuildConfig.Instance.UserPath = Application.persistentDataPath;
- BuildConfig.Instance.LocalPath = Application.streamingAssetsPath;
- //BuildConfig.Instance.ServerUrl = "http://file.shadowcreator.com/10001/file/2295";
- }
- public bool IsInit
- {
- get { return isInit; }
- }
- }
- }
|