首次提交

This commit is contained in:
Bob.Song
2026-03-05 18:07:55 +08:00
commit e125bb869e
4534 changed files with 563920 additions and 0 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