17 lines
588 B
C#
17 lines
588 B
C#
// 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;
|
||
}
|
||
}
|