How to play an animation when I enable gameobject as a new window

I am making a UI section in a game. I animated the first let’s say window. But when I click on my next button to move to the next section I couldn’t animate my buttons to enter the scene.
I used start() function to hide them from scene then I applied my animation. But I found my animation are already in the scene. That’s because start() function happens when the gameobject is created.
I also used awake(), OnEnabled() and OnBecameVisible but with no result.
Can you help me please?

I found the answer. The problem was that another scripts up in the hierarchy accessing and enabling my controls before I access my UI section.