- Home /
Question by
Alakanu · Jul 06, 2016 at 04:56 PM ·
animationunity 5animationevent
Unity2D: Animation Event Not Firiring
Hey there, using Unity 5.3.5f1 (64b) here and I have an animation event that never fires.
On the gameobject with the Animator component I have this simple function:
public void ExplosionEndEvent()
{
Debug.Log("never called");
mainController.Reset();
}
And I want it to be called when the explosion animation ends. Here are some pics of the Animator state properties and of the animation.
And this is the state transition of the Animator that goes back to Idle after the animation of the explosion is complited.
The issue is: "never called" is never printed in console.
anevent1.png
(295.8 kB)
anevent2.png
(289.0 kB)
Comment
Your answer
Follow this Question
Related Questions
Modifying script values using animations 0 Answers
Animation Event is won't be called 0 Answers
The parts of my character disappear when i use the animation 0 Answers
Button animator not playing. 0 Answers