您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
18 行
675 B
18 行
675 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 static string RuntimeConfigFullPath { get; }
|
|
= Path.Combine(Application.streamingAssetsPath, ConfigFileName);
|
|
|
|
public static IConfigurationLoader ConfigurationLoader { get; internal set; }
|
|
= new StreamingAssetsConfigurationLoader();
|
|
}
|
|
}
|