GameObjectUtils.

ApplyColorOnRenderer(Renderer, Color) Method

Summary

Apply Color to all materials of a Renderer

Syntax

public static void ApplyColorOnRenderer(Renderer rend, Color color)

Parameters

Name Type Description
rend Renderer The Renderer modified
color Color The color to apply

Return Value

Type Description
void