A difficult logic question!

Create a material with a lerp to switch between the clean and dirty textures
The lerp is controled by a paramiter
That paramiter is control by a variable in the object
The variable in the object can be manipulated by the object and updates the material