snicker
Member
I want to register for events OnAnimatorItemUse and OnAnimatorItemUseComplete, but I am getting this error when the animation plays and its not receiving the event.
"AnimationEvent 'ExecuteEvent' on animation 'RightHand@Attack04' has no receiver! Are you missing a component?"
I have this script on the same object as animator sending the events
public void Awake()
{
EventHandler.RegisterEvent(gameObject, "OnAnimatorItemUse", OnItemUse);
EventHandler.RegisterEvent(gameObject, "OnAnimatorItemUseComplete", OnItemUseComplete);
}
"AnimationEvent 'ExecuteEvent' on animation 'RightHand@Attack04' has no receiver! Are you missing a component?"
I have this script on the same object as animator sending the events
public void Awake()
{
EventHandler.RegisterEvent(gameObject, "OnAnimatorItemUse", OnItemUse);
EventHandler.RegisterEvent(gameObject, "OnAnimatorItemUseComplete", OnItemUseComplete);
}