NBC修改

This commit is contained in:
bob
2025-07-03 14:16:18 +08:00
parent 4febfadd56
commit 800e96aac7
2083 changed files with 60081 additions and 2942 deletions

View File

@@ -0,0 +1,27 @@
using UnityEngine;
namespace NBC
{
public interface ILanguage
{
/// <summary>
/// 获取一个key对应的结果
/// </summary>
/// <param name="key"></param>
/// <returns></returns>
string Get(string key);
/// <summary>
/// 添加一个多语言键值对
/// </summary>
/// <param name="language"></param>
void AddLanguage(SystemLanguage language);
/// <summary>
/// 使用某个语言,通过语言枚举
/// </summary>
/// <param name="language"></param>
/// <returns></returns>
bool UseLanguage(SystemLanguage language);
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: a216923a7e634b1bb9507b63b3f4174d
timeCreated: 1715248036