多轮审查和修复
This commit is contained in:
16
Assets/Scripts/Audio/FootstepMaterialMarker.cs
Normal file
16
Assets/Scripts/Audio/FootstepMaterialMarker.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
// Assets/Scripts/Audio/FootstepMaterialMarker.cs
|
||||
// 挂载到地面碰撞体所在 GameObject,标记该地面的脚步声材质
|
||||
// (Architecture 21_LiquidPuzzleModule §3.3)
|
||||
using UnityEngine;
|
||||
|
||||
namespace BaseGames.Audio
|
||||
{
|
||||
/// <summary>
|
||||
/// 挂载到地面碰撞体所在 GameObject(Tilemap 图层 or 单体地形 Prefab)。
|
||||
/// 若玩家脚下 GameObject 无此组件,默认使用 FootstepMaterial.Stone。
|
||||
/// </summary>
|
||||
public class FootstepMaterialMarker : MonoBehaviour
|
||||
{
|
||||
public FootstepMaterial material = FootstepMaterial.Stone;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user