animation event on parent from script attacked to child? how?

Hello,

I have a Character with a child “Point” in it from this point arrows get shot on this child is an script “bowscript” with a function “ArrowClone”

I would like to call this function on the end of my DrawArrow animation but I get an error No receiver.

How do assign the function from this child to the parent animation?

We are looking only for MonoBehaviour component on the same gameobject than your animation/animator component.

If you want to send message down your transform hierarchy you will need to add a monobehaviour that can handle this event on your Character gameobject and then from this function either
broadcast a message down your hierarchy which can be time consuming if you have a big hierarchy

or
call directly the desire method on your child ‘Point’

1 Like

any change that will change in the future?
It would be nice to call functions on Serialized classes or Static Functions…