- Home /
Question by
NotFoundGame · Jun 24, 2020 at 12:24 PM ·
animationanimationclipanimationevent
How to add and change function in Animation Event from code
Want start different function from one animation. How do it? How to add and change function from code. To run one function at a specific time.
My dirty hack for start the function. I know that it is bad idea, but i need pro help with AnimationEvent...
if ( timer > 150 )
{
Play();
}
else
{
timer++;
}
Comment