123456789101112131415161718192021222324252627 |
- using SC.XR.Unity;
- 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; }
- }
- }
- }
|