#flashing material's color

1 messages · Page 1 of 1 (latest)

ruby wraith
#

how can I flash (fade in, fade out) a material's color? something like:

while (mat.GetColor("_BaseColor") != Color.white)
{
    // TODO: Lerping
    mat.SetColor("_BaseColor", Color.white)
}

while (mat.GetColor("_BaseColor") != originalColor)
{
    // TODO: Lerping
    mat.SetColor("_BaseColor", originalColor)
}
...
#

doing this as a "pickupable" indicator, so it's more obvious

#

there are multiple materials by the way

ruby wraith
#

bump?