文档

Unity Engine

Unity Engine

GetColor(string)

Gets a color property value by name.
阅读时间1 分钟最后更新于 1 个月前

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.