Moving textures over a model

For a game, I want to move a texture on one of my models. In other words, I would want a water texture to move on the surface of the water itself, so it looks like the water is moving by itself. How would I script that?

All's you would need to do is change the texture's offset.

 renderer.material.SetTextureOffset("_WaveTex", Vector2(Time.time, 0));
 //or something similar.