GetColor

GetColor(Color)

public Color GetColor(Color defaultValue) ;

Description

Get the value of the Color type.

Parameters

Parameter Name Description
defaultValue Default value. It is returned when there is no parameter.

Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

GetColor()

public Color GetColor() ;

Description

Get the value of the Color type.

Returns

The value of the parameter. If there is no parameter, it returns Color.white.