升级框架版本

This commit is contained in:
Bob.Song
2025-11-12 17:24:02 +08:00
parent 4059c207c0
commit 5e6119a073
2246 changed files with 6233 additions and 313 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