syncronize long animation & sound

hi all

i have in unity an fbx long animation of two chars, i would play also the dialog sound, but the sync is relative to the hardware, how can i syncronize animation with audio clip for a long time (2000 frames)?

thanks for help

You can use the Animation Window (in Unity) to add AnimationEvent. AnimationEvent can call any functions in any scripts on your game object (your animation).

You can pass only one parameter (int,float,string) but a string can hide all the parameter you want!

Check your unity doc to know how to add Animation Event (Unity/Editor/Data/Documentation/Documentation/Components/animeditor-UsingAnimationEditor.html)

Also, if can't add animation event on Animation window, check this thead :

http://answers.unity3d.com/questions/6095/unable-to-edit-or-delete-animation-event-added-to-imported-animation