Animate 3d cubes of a word puzzle when they are solved

Hi,
I have a word puzzle made of 3d cubes. All my 3d cubes are physical game objects already created in the editor. When someone solves a puzzle, I want to animate the blocks that were a part of the word that they found… The animation I am looking to do on these blocks is to rotate each block 360 degrees on at a time and may be scale them a bit and back to normal in the end.

Thanks for your help guys !

Thanks

So what exactly is your question?

To rotate a GameObject you use Transform.Rotate(). To scale a GameObject you can set Transform.localScale. To create an animation over time you probably want to multiply how much you rotate by with Time.deltaTime which returns in seconds how much time it took to complete the last frame.