Files
beyond/Assets/ThirdParty/Invector-3rdPersonController/Basic Locomotion/Scripts/FootStep/Scripts/vFootStepHandler.cs
2024-11-20 15:21:28 +01:00

25 lines
637 B
C#

using UnityEngine;
using System.Collections;
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
}
}
}