using UnityEngine; namespace BitStrap { public abstract class AnimationParameter { public string name; [SerializeField] private int index = -1; public int Index { get { if (index == -1) { index = Animator.StringToHash(name); } return index; } } } }