I replaced or added some animations for equipping and unequipping; everything works fine, and the event system works as well.
But I replaced one animation, "Equip From Idle," for "knife." My animation has only one event "ExecuteEvent" and its string is "OnAnimatorItemEquip" as described in documentation. but another event with the same string "OnAnimatorItemEquip" is executing on a specfic time, dosn't matter my event triggers earlier or late, the animator is changing "Slot0ItemStateIndex" for other event trigger, not mine.
Even I delted and created new step but sill.... ?
How I can find and fix it?
FYI. I am equiping and unequiping item via script..
But I replaced one animation, "Equip From Idle," for "knife." My animation has only one event "ExecuteEvent" and its string is "OnAnimatorItemEquip" as described in documentation. but another event with the same string "OnAnimatorItemEquip" is executing on a specfic time, dosn't matter my event triggers earlier or late, the animator is changing "Slot0ItemStateIndex" for other event trigger, not mine.
Even I delted and created new step but sill.... ?
How I can find and fix it?
FYI. I am equiping and unequiping item via script..
C#:
var equipUnequip = characterLocomotion.GetAbility<EquipUnequip>();
if (equipUnequip != null)
equipUnequip.StartEquipUnequip(6);
Last edited: