多轮审查和修复
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BaseGames.Core
|
||||
{
|
||||
/// <summary>
|
||||
@@ -15,6 +17,9 @@ namespace BaseGames.Core
|
||||
/// <summary>单次播放音效。</summary>
|
||||
void PlaySFX(string key);
|
||||
|
||||
/// <summary>在世界坐标播放音效片段(用于 3D 音效)。</summary>
|
||||
void PlaySFXAtPosition(AudioClip clip, Vector2 position, float volumeScale = 1f);
|
||||
|
||||
/// <summary>设置混音器音量(0–1)。group 取 AudioMixerKeys 常量。</summary>
|
||||
void SetVolume(string group, float normalizedVolume);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user