how to enable a timer for a button?

hey,
I’m new to unity so here’s my question:
i’m making an idle game and I want the button to be enabled when you start the game but once you click it the timer starts so you can’t click it when the animation (or during a certain time) plays if the animation is done you can click it again.

I have no idea how to start this, I have searched online but can’t really find anything? can someone please help me. thx in advance

Cooldown timers, gun bullet intervals, shot spacing, rate of fire:

https://discussions.unity.com/t/821482/2

GunHeat (gunheat) spawning shooting rate of fire:

https://discussions.unity.com/t/824570/2

If you really have no idea where to start, work through the entire UI tutorial series on Unity. Nobody is going to type anything in this little text box that will help you learn that.