C# 클래스 UnityEngine.ColorUtility

A collection of common color functions.

파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
ToHtmlStringRGB ( Color color ) : string

Returns the color as a hexadecimal string in the format "RRGGBB".

ToHtmlStringRGBA ( Color color ) : string

Returns the color as a hexadecimal string in the format "RRGGBBAA".

TryParseHtmlString ( string htmlString, Color &color ) : bool

비공개 메소드들

메소드 설명
DoTryParseHtmlColor ( string htmlString, Color32 &color ) : bool

메소드 상세

ToHtmlStringRGB() 공개 정적인 메소드

Returns the color as a hexadecimal string in the format "RRGGBB".

public static ToHtmlStringRGB ( Color color ) : string
color Color The color to be converted.
리턴 string

ToHtmlStringRGBA() 공개 정적인 메소드

Returns the color as a hexadecimal string in the format "RRGGBBAA".

public static ToHtmlStringRGBA ( Color color ) : string
color Color The color to be converted.
리턴 string

TryParseHtmlString() 공개 정적인 메소드

public static TryParseHtmlString ( string htmlString, Color &color ) : bool
htmlString string
color Color
리턴 bool