Documentation

Unity Engine

Unity Engine

GetColor(string)

Gets a color property value by name.
Read time 1 minuteLast updated 2 months 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.