>>377868864
You press the red record button and ltierally just drag the material to the material slot of the meshrender of the gameobject while you're recording.
You should see the material itself in the animation file as a picture. You'll know when it happens it's very obvious.