Home »Action Reference»Material Actions»Set Material Color
Index

Set Material Color

Sets a named color value in a game object's material.

Game Object
The game object to change.
Material Index
The index of the material on the object.
Named Color
The named color. See unity docs: Material.SetColor
Color
The color to set.
Every Frame
Repeat this action every frame. Useful if the color is animated.

 

Unity naming conventions:

  • _Color - The main color
  • _SpecColor - The specular color
  • _Emisson - The emissive color
  • _Shininess - The glossiness amount
  • _ReflectColor - Reflection color