UV animation for foliage

You can animate via shaders into any loop you like using tools like pivot painter.

Google it, have a look.
Content samples should have a melting candle as an example.