Sets a named texture in a game object's material.
Game Object
The game object that the material is applied to.
Named Texture
The named texture. Common names include: _MainTex, _BumpMap, _Cube...
Texture
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