How to integrate Unity animation with 2D overlay text?

Hi, I am a beginner. I need a solution to link my animation to the 2D overlay text. The text is about the data for the animation. As animation process changes, text changes. Is there any hints or alternatives on this topic?