Hello Spine community, I have a slight issue with the animation events not showing up in UnityEngine (5.1.1f1 personal).
I did use a Debug to see if the animation event gets called but it doesn't.. What may be the issue? The animator of my team says that he added the events :think:
void Start()
{
animationChar.state.Event += OnEvent;
}
private void OnEvent(Spine.TrackEntry trackEntry, Spine.Event e)
{
if (e.Data.Name == "InflictDamage ")
Debug.Log("Inflicted damage");
}
PS: The animation is a melee attack with a blade