Compare commits

..

3 Commits

Author SHA1 Message Date
Oliver 823e908ea2 Update testing audio. 2026-06-10 11:05:20 +08:00
Oliver 3ee36fc0af chore: standarize code style 2026-06-10 11:05:04 +08:00
Oliver 3de0259ea2 Update AGENTS.md 2026-06-10 11:04:45 +08:00
5 changed files with 12 additions and 5 deletions
+7
View File
@@ -6,6 +6,13 @@ Unity 2022.3.62f3, URP, C#. Custom audio & haptic middleware under the namespace
---
## Agent Guidelines
- **称呼**:在沟通中始终称呼用户为「思谦」或「王思谦」。
- **存疑必问**:遇到任何不确定、拿不准、信息缺失或模糊的情况,不要自行推测或假设。先收集、整理好所有问题,然后停下来向思谦提问确认。宁可多问,不要猜错。
---
## Architecture
```
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -9,20 +9,20 @@ namespace OCES.Audio
public static class AudioImportTool
{
static AudioExtendSettings s_settings;
static AudioExtendSettings _settings;
static AudioExtendSettings Settings
{
get
{
if (s_settings == null)
if (_settings == null)
{
s_settings = AssetDatabase.LoadAssetAtPath<AudioExtendSettings>(
_settings = AssetDatabase.LoadAssetAtPath<AudioExtendSettings>(
"Assets/Settings/AudioExtendSettings.asset");
if (s_settings == null)
if (_settings == null)
Debug.LogError("[AudioImportTool] 无法加载 AudioExtendSettings.asset,请确保资产存在于 Assets/Settings/ 目录");
}
return s_settings;
return _settings;
}
}