Changing cube color continuously

I want to know what logic should I use to change color of cube continuously.
I’ve found one tutorial on unity’s official youtube channel, which can change cube color by pressing specific buttons.

Can anybody tell me how to change color of object in game continuously??

Hi,
if you are using C++ you should start a coroutine.
see here for a standard script

just change the print time to your code to change the color.
hope that helps,