Usually set up in the beginPlay of the asset Blueprint.

1 - Create the material you’ll work on.
2 - Save the reference into a Material type variable so you can call when making changes.
3 - Assigns the material to the Target mesh, Element Index (Integer) refers to the mesh material slot.
