How to CHANGE THE TEXTURE of a MATERIAL AT RUNTIME in Unity

Опубликовано: 10 Октябрь 2024
на канале: GDT Solutions
3,495
48

In this video we see how to set the texture of a material by code in Unity, analyzing an example in which we have a material applied to a cube and two textures, we create a new script, define all the necessary references and learn the instruction to change the texture of a material.

PORTFOLIO: https://gamedevtraum.com/en/portfolio...
LINKEDIN:   / gamedevtraum