Looping animation fabric

Hello!
Please tell me how to make the animation looped fabric?
The idea that would make a looped animation flag using the cloth simulation. That would continue to use it in Unity.
Or where I could not find information on this subject. In animation, I am not strong.
Sorry for my bad english:)

You asked your question in the wrong thread.

I apologize, and the truth is not in there. missed