Files
zeling_v2/Assets/_Game/Scripts/Audio/FootstepMaterialMarker.cs

17 lines
588 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Assets/Scripts/Audio/FootstepMaterialMarker.cs
// 挂载到地面碰撞体所在 GameObject标记该地面的脚步声材质
// Architecture 21_LiquidPuzzleModule §3.3
using UnityEngine;
namespace BaseGames.Audio
{
/// <summary>
/// 挂载到地面碰撞体所在 GameObjectTilemap 图层 or 单体地形 Prefab
/// 若玩家脚下 GameObject 无此组件,默认使用 FootstepMaterial.Stone。
/// </summary>
public class FootstepMaterialMarker : MonoBehaviour
{
public FootstepMaterial material = FootstepMaterial.Stone;
}
}