mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
- 实现了SettingsModel用于管理应用程序设置部分 - 创建了SettingsSystem用于应用各种设置配置 - 添加了AudioSettings和GraphicsSettings基础设置类 - 定义了ISettingsModel、ISettingsSystem等核心接口 - 实现了GodotAudioApplier用于应用音频设置到Godot音频系统 - 创建了GodotGraphicsSettings用于管理游戏图形显示设置 - 添加了GodotFileStorage特化文件存储实现 - 实现了Godot路径扩展方法IsUserPath、IsResPath、IsGodotPath - 添加了AudioBusMap音频总线映射配置类
22 lines
621 B
C#
22 lines
621 B
C#
namespace GFramework.Godot.setting;
|
|
|
|
/// <summary>
|
|
/// 音频总线映射配置类,用于定义音频系统中不同类型的音频总线名称
|
|
/// </summary>
|
|
public sealed class AudioBusMap
|
|
{
|
|
/// <summary>
|
|
/// 主音频总线名称,默认值为"Master"
|
|
/// </summary>
|
|
public string Master { get; init; } = "Master";
|
|
|
|
/// <summary>
|
|
/// 背景音乐音频总线名称,默认值为"BGM"
|
|
/// </summary>
|
|
public string Bgm { get; init; } = "BGM";
|
|
|
|
/// <summary>
|
|
/// 音效音频总线名称,默认值为"SFX"
|
|
/// </summary>
|
|
public string Sfx { get; init; } = "SFX";
|
|
} |