ColorAttribute.

ColorAttribute(string) Constructor

Summary

Initializes the color using the property with the specified `colorName`. You can specify a full name in the form "TypeName.StaticProperty" or "TypeName.StaticField", or you can just specify the name of a property in the UnityEngine.Color class such as "red".

Syntax

public ColorAttribute(string colorName)

Parameters

Name Type Description
colorName string

Return Value

Type Description
void