- Home /
Unity event function has no receiver
Hey guys I have a throw animation and i want the object to detached from the hand at a specific frame of the animation! But the throw script is in a different game object(inside the same parent) from the animator and i know i have to make a reference to the script from the object that has the animator ...so how do i write the reference script? :/
Answer by alexkarak · Oct 09, 2019 at 01:08 PM
In order to explain it better ....I have this : public void OnMuscleRemoved( ) on my players hand and on the animator (parent of the armature) i have a throw animation
from that animation i created an event in order to call OnMuscleRemoved then! But the function list in the event menu isnt showing the function!
So do i have to make another script in the animator calling the function or what? and if yes how should the script look like couse i have tried everything so far and i keep bumping in errors! :/