Reputation: 11552
I want to use Events in my animation ( my animation is part of my .fbx file which is exported from 3d studio nad I imported to Unity 5.3 ) to change behavior of my character like in http://docs.unity3d.com/Manual/animeditor-AnimationEvents.html but I don't have Events option like in tutorial and when I click double on any moment in timeline no new event is created.
How to add Events option to animation ( I know how to add callbacks once I have option for events from previous tutorial )
Upvotes: 1
Views: 3175
Reputation: 11
Go to the "Rig" tab of the object and select "Generic". It's probably set to Legacy, which won't give you the events option.
Upvotes: 1
Reputation: 3629
Animation events have to be added in the "Animation" window (not "Animator"). Open it, then select a GameObject which has the AnimationClip you want to add events to (can either be GameObject with an Animator or with an Animation component).
You should now be able to select the clip in the Animation window and add events to it by right-clicking in the dark grey section right below the timeline.
Upvotes: 2