Hello,
has Mecanim in Unity 4.1.2f1 options for adding animation events?
Thanks in advance.
EliteMossy is correct – Mecanim doesn’t have animation events yet. Using her suggestion, you can define a curve that crosses the zero axis when an animation event should occur. You can watch the value of the curve in your script’s Update() method. When it changes sign (positive to negative, or vice versa), you can trigger the event.
My recommendation, however, is to use G1NurX’s excellent “Event System for Mecanim”: Event System for Mecanim [Unity5 supported] | Animation Tools | Unity Asset Store
I don’t believe so, but you can use Curves in Pro to trigger events.
http://docs.unity3d.com/Documentation/Manual/AnimatorCurves.html