C# Class uFrameHelpStyles, uFrame.Editor

Datei anzeigen Open project: InvertGames/uFrame.Editor

Public Methods

Method Description
ForAllStates ( this style, Texture2D texture ) : GUIStyle
ForNormalState ( this style, Texture2D texture ) : GUIStyle
WithAllStates ( this style, Color textColor ) : GUIStyle
WithAllStates ( this style, Texture2D texture, Color textColor ) : GUIStyle
WithAllStates ( this style, string textureName, Color textColor ) : GUIStyle
WithFont ( this style, string fontName ) : GUIStyle
WithFont ( this style, string fontName, int fontSize ) : GUIStyle
WithHoveredState ( this style, string textureName, Color textColor ) : GUIStyle

Method Details

ForAllStates() public static method

public static ForAllStates ( this style, Texture2D texture ) : GUIStyle
style this
texture UnityEngine.Texture2D
return GUIStyle

ForNormalState() public static method

public static ForNormalState ( this style, Texture2D texture ) : GUIStyle
style this
texture UnityEngine.Texture2D
return GUIStyle

WithAllStates() public static method

public static WithAllStates ( this style, Color textColor ) : GUIStyle
style this
textColor Color
return GUIStyle

WithAllStates() public static method

public static WithAllStates ( this style, Texture2D texture, Color textColor ) : GUIStyle
style this
texture UnityEngine.Texture2D
textColor Color
return GUIStyle

WithAllStates() public static method

public static WithAllStates ( this style, string textureName, Color textColor ) : GUIStyle
style this
textureName string
textColor Color
return GUIStyle

WithFont() public static method

public static WithFont ( this style, string fontName ) : GUIStyle
style this
fontName string
return GUIStyle

WithFont() public static method

public static WithFont ( this style, string fontName, int fontSize ) : GUIStyle
style this
fontName string
fontSize int
return GUIStyle

WithHoveredState() public static method

public static WithHoveredState ( this style, string textureName, Color textColor ) : GUIStyle
style this
textureName string
textColor Color
return GUIStyle