您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
19 行
758 B
19 行
758 B
using System.IO;
|
|
using UnityEngine;
|
|
|
|
namespace Unity.Services.Core.Configuration
|
|
{
|
|
static class ConfigurationUtils
|
|
{
|
|
public const string StreamingAssetsFolder = "StreamingAssets";
|
|
public const string StreamingAssetsPath = "Assets/" + StreamingAssetsFolder;
|
|
public const string ConfigFileName = "UnityServicesProjectConfiguration.json";
|
|
public const string ConfigAssetPath = StreamingAssetsPath + "/" + ConfigFileName;
|
|
|
|
public static string RuntimeConfigFullPath { get; }
|
|
= Path.Combine(Application.streamingAssetsPath, ConfigFileName);
|
|
|
|
public static IConfigurationLoader ConfigurationLoader { get; internal set; }
|
|
= new RuntimeConfigurationLoader();
|
|
}
|
|
}
|