Hello everybody,
just wanted to share something about using the folder in event.
If you have placed previous event in spine in folder, then, you must use write your method call back like that :
//to track the SPINE event attack_transition
private void OnEventAttackCombo(TrackEntry track, Spine.Event e)
{
if (e.Data.Name == "attack event/Attack_transition")
{
comboNumber+=1;//add 1 to track the combo number
}
}
my folder is "attack event"
that was the previous code
//to track the SPINE event attack_transition
private void OnEventAttackCombo(TrackEntry track, Spine.Event e)
{
if (e.Data.Name == "Attack_transition")
{
comboNumber+=1;//add 1 to track the combo number
}
}