mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-23 03:04:29 +08:00
- 实现了SettingsModel用于管理应用程序设置部分 - 创建了SettingsSystem用于应用各种设置配置 - 添加了AudioSettings和GraphicsSettings基础设置类 - 定义了ISettingsModel、ISettingsSystem等核心接口 - 实现了GodotAudioApplier用于应用音频设置到Godot音频系统 - 创建了GodotGraphicsSettings用于管理游戏图形显示设置 - 添加了GodotFileStorage特化文件存储实现 - 实现了Godot路径扩展方法IsUserPath、IsResPath、IsGodotPath - 添加了AudioBusMap音频总线映射配置类
14 lines
327 B
C#
14 lines
327 B
C#
using System.Threading.Tasks;
|
||
|
||
namespace GFramework.Game.Abstractions.setting;
|
||
|
||
/// <summary>
|
||
/// 定义可应用设置的接口,继承自ISettingsSection
|
||
/// </summary>
|
||
public interface IApplyAbleSettings : ISettingsSection
|
||
{
|
||
/// <summary>
|
||
/// 应用当前设置到系统中
|
||
/// </summary>
|
||
Task Apply();
|
||
} |