C# Class LabelContent, RPGQuest

Datei anzeigen Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
bounds Rect
content GUIContent
shadowColor Color
textColor Color

Public Methods

Method Description
AddTexture ( GUIFont, font, Texture2D texture, DialoguePosition, dp ) : Texture2D
AddTextureNoOffset ( GUIFont, font, Texture2D texture, DialoguePosition, dp ) : Texture2D
GetTexture ( GUIFont, font ) : Texture2D
LabelContent ( GUIContent c, Rect b, Color t, Color s ) : UnityEngine
LabelContent ( GUIContent c, float x, float y, Color t, Color s, GUIFont, font ) : UnityEngine

Method Details

AddTexture() public method

public AddTexture ( GUIFont, font, Texture2D texture, DialoguePosition, dp ) : Texture2D
font GUIFont,
texture UnityEngine.Texture2D
dp DialoguePosition,
return UnityEngine.Texture2D

AddTextureNoOffset() public method

public AddTextureNoOffset ( GUIFont, font, Texture2D texture, DialoguePosition, dp ) : Texture2D
font GUIFont,
texture UnityEngine.Texture2D
dp DialoguePosition,
return UnityEngine.Texture2D

GetTexture() public method

public GetTexture ( GUIFont, font ) : Texture2D
font GUIFont,
return UnityEngine.Texture2D

LabelContent() public method

public LabelContent ( GUIContent c, Rect b, Color t, Color s ) : UnityEngine
c GUIContent
b Rect
t Color
s Color
return UnityEngine

LabelContent() public method

public LabelContent ( GUIContent c, float x, float y, Color t, Color s, GUIFont, font ) : UnityEngine
c GUIContent
x float
y float
t Color
s Color
font GUIFont,
return UnityEngine

Property Details

bounds public_oe property

public Rect bounds
return Rect

content public_oe property

public GUIContent content
return GUIContent

shadowColor public_oe property

public Color shadowColor
return Color

textColor public_oe property

public Color textColor
return Color