C# Class UnityEngine.ColorExtensions

ファイルを表示 Open project: Naphier/NGTools

Public Properties

Property Type Description
debugLogMessagesOn bool

Public Methods

Method Description
Clamp ( this c ) : Color
HexString ( Color aColor ) : string
HexString ( Color aColor, bool includeAlpha ) : string
HexString ( Color32 aColor, bool includeAlpha ) : string
MakeColor ( string aStr ) : Color

Method Details

Clamp() public static method

public static Clamp ( this c ) : Color
c this
return Color

HexString() public static method

public static HexString ( Color aColor ) : string
aColor Color
return string

HexString() public static method

public static HexString ( Color aColor, bool includeAlpha ) : string
aColor Color
includeAlpha bool
return string

HexString() public static method

public static HexString ( Color32 aColor, bool includeAlpha ) : string
aColor Color32
includeAlpha bool
return string

MakeColor() public static method

public static MakeColor ( string aStr ) : Color
aStr string
return Color

Property Details

debugLogMessagesOn public_oe static_oe property

public static bool debugLogMessagesOn
return bool