using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace XRTool.Util { public class BuildConfigMgr : Singleton { private bool isInit = false; public BuildConfigMgr() { if (!BuildConfig.Instance) { BuildConfig.Instance = Resources.Load("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; } } } }