How to play in Game mode an animation created in animation window?

How to play in Game mode an animation created in animation window?

I found a solution using AnimationClip.SampleAnimation function.