It won't loop

I have been working on a wind turbine in Maya 2012, i animated it to rotate and set a post infinity cycle on the last frame but when i import it it into unity i only does the one cycle and doesn’t loop. Any help would be most awesome.

Add this script:

function Update(){

animation.CrossFade ("YourAnimation");
animation.wrapamode = WrapMode.Loop