Applying the same UV to multiple objects

I’m making a game, and I have these blocks… I’ve built a scene with the blocks and now want to apply the same UV texture to all of them. I put it on one of the blocks, now is there any way I can easily copy it to all the others? I thought I could just go into the copy attributes thing and do it from there, but there isn’t an option. I don’t want to have to click on every block and change something manually, is there a way to just do it all at once?

You could have used Alt-D to create object clones for all of the blocks, and use them (as they all share object data). They would all share object data; alternatively, select the blocks and make them share mesh data (select the original block for each block).

OK, I’ve got an idea; Select all the blocks, use Ctrl-J to join them all together, and then you can UV-map them all together (i.e. Select Unwrap or Cube Mapping).