Animation using Material Reference[0] property
I am currently trying to create an legacy animation through script that changes the material on a mesh each frame, the only way I see of doing this is the property Material Reference[0] however I can't get this to work by manually setting it up let alone setting it up in c#.
Looking around online I found:
https://answers.unity.com/questions/739734/how-do-i-use-an-animation-to-change-the-materials.html
Where in 2014 it was found to have problems, I can't find anything useful on how to use this property and how to set this up.
Has anyone used this and can give an example?
The main thing i am looking for is to have a different texture on the material each frame of the animation.
Your answer
Follow this Question
Related Questions
Animate a material blend in timeline 0 Answers
Accessing decal's material's parameters in animation window. 0 Answers
Animation Clip isn't displaying Image Material Properties, as it does with SpriteRenderer 1 Answer
Animate alpha of material on UI panel 0 Answers
Animating Material, how to set material after animation? 0 Answers