Sets a named texture in a game object's material.
The game object that the material is applied to.
The named texture. Common names include: _MainTex, _BumpMap, _Cube...
The texture to use.
Unity naming conventions:
- _MainTex - Primary texture
- _BumpMap - Normal map texture
- _Cube - Reflective cubemap, used by cubemap shaders
- _Illum - Illumination map
- _ParallaxMap - Parallax map, used by parallax shaders
- _DecalTex - Decal texture, or secondary diffuse map