Importing animations and objects from Blender to Unity.

I’ve been trying to import my animated gun in to Unity for about two hours now. All I have achieved is just getting the default take. Which plays the animation, but I can not control it from a script. Can anyone tell me how could I import animations from Blender to Unity please?

http://www.youtube.com/results?search_query=blender+animation+export+to+unity&oq=blender+animation+export+to+unity&gs_l=youtube.3...15591.18048.0.18236.9.9.0.0.0.2.140.1023.0j9.9.0...0.0...1ac.1.11.youtube.K4xM9aJimaI

That doesn’t really help. In all the videos, they use older versions of unity and blender.

EDIT: Alright, I found a fix to my problem. I just changed the Animation Type to Legacy in the Rig tab. Thanks anyways. :slight_smile: