Wanzyee Studio
ColorStringConverter

Custom BaseStringConverter for UnityEngine.Color. More...

Inherits NumericStringConverter< Color >.

Protected Member Functions

override Color FromFloats (float[] floats)
 Convert the value from float array to target type. More...
 
override T FromString (string value)
 Convert the value of string to target type. More...
 

Detailed Description

Custom BaseStringConverter for UnityEngine.Color.

Member Function Documentation

override Color FromFloats ( float[]  floats)
protectedvirtual

Convert the value from float array to target type.

Parameters
floatsThe float array.
Returns
The instance of target type.

Implements NumericStringConverter< Color >.

override T FromString ( string  value)
protectedinherited

Convert the value of string to target type.

Parameters
valueThe string value.
Returns
The instance of target type.