Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetColor(string)

Gets a color property value by name.
Read time 1 minuteLast updated 11 days ago

Definition

public Color GetColor(string name)

Parameters

name

The property name of the color value.

Returns

Type

Description

ColorThe color property stored for the specified name, or the clear color if none.