Files
BABA_YAGA/Assets/Scripts/Player/FootStep/Scripts/vFootStepHandler.cs
2026-06-04 10:42:23 +07:00

24 lines
611 B
C#

using UnityEngine;
namespace Invector
{
public class vFootStepHandler : MonoBehaviour
{
[Tooltip("Use this to select a specific material or texture if your mesh has multiple materials, the footstep will play only the selected index.")]
[SerializeField]
private int materialIndex = 0;
public int material_ID
{
get
{
return materialIndex;
}
}
public StepHandleType stepHandleType;
public enum StepHandleType
{
materialName,
textureName
}
}
}