C# Class GUIFont, RPGQuest

Afficher le fichier Open project: hughrogers/RPGQuest Class Usage Examples

Méthodes publiques

Свойство Type Description
KERNING string
LETTER string
asciiStartOffset int
kerning float
kerningPairs Hashtable
letter GUILetter[]
lineSpacing float
preloaded bool

Méthodes publiques

Méthode Description
AddTextTexture ( Texture2D texture, LabelContent, label, DialoguePosition, dp, Vector2 p2Offset ) : Texture2D
AddTextTexture ( Texture2D texture, LabelContent, label, float paddingX, Vector2 p2Offset, bool showShadow, Vector2 shadowOffset ) : Texture2D
AddTextTexture ( Texture2D texture, string text, Rect bounds, Color textColor, Color shadowColor, float paddingX, Vector2 p2Offset, bool showShadow, Vector2 shadowOffset, bool calcY ) : Texture2D
GUIFont ( ) : System.Collections
GUIFont ( Hashtable ht ) : System.Collections
GetData ( Hashtable ht ) : Hashtable
GetFittingTextLength ( string text, float space ) : int
GetLetter ( char c ) : GUILetter
GetLetterKerning ( int first, int second ) : float
GetTextSize ( string text ) : Vector2
GetTextTexture ( string text ) : Texture2D
GetTextTexture ( string text, int width, int height ) : Texture2D
Preload ( ) : void
SetData ( Hashtable ht ) : void
SetFont ( Font f ) : void

Method Details

AddTextTexture() public méthode

public AddTextTexture ( Texture2D texture, LabelContent, label, DialoguePosition, dp, Vector2 p2Offset ) : Texture2D
texture UnityEngine.Texture2D
label LabelContent,
dp DialoguePosition,
p2Offset Vector2
Résultat UnityEngine.Texture2D

AddTextTexture() public méthode

public AddTextTexture ( Texture2D texture, LabelContent, label, float paddingX, Vector2 p2Offset, bool showShadow, Vector2 shadowOffset ) : Texture2D
texture UnityEngine.Texture2D
label LabelContent,
paddingX float
p2Offset Vector2
showShadow bool
shadowOffset Vector2
Résultat UnityEngine.Texture2D

AddTextTexture() public méthode

public AddTextTexture ( Texture2D texture, string text, Rect bounds, Color textColor, Color shadowColor, float paddingX, Vector2 p2Offset, bool showShadow, Vector2 shadowOffset, bool calcY ) : Texture2D
texture UnityEngine.Texture2D
text string
bounds Rect
textColor Color
shadowColor Color
paddingX float
p2Offset Vector2
showShadow bool
shadowOffset Vector2
calcY bool
Résultat UnityEngine.Texture2D

GUIFont() public méthode

public GUIFont ( ) : System.Collections
Résultat System.Collections

GUIFont() public méthode

public GUIFont ( Hashtable ht ) : System.Collections
ht Hashtable
Résultat System.Collections

GetData() public méthode

public GetData ( Hashtable ht ) : Hashtable
ht Hashtable
Résultat Hashtable

GetFittingTextLength() public méthode

public GetFittingTextLength ( string text, float space ) : int
text string
space float
Résultat int

GetLetter() public méthode

public GetLetter ( char c ) : GUILetter
c char
Résultat GUILetter

GetLetterKerning() public méthode

public GetLetterKerning ( int first, int second ) : float
first int
second int
Résultat float

GetTextSize() public méthode

public GetTextSize ( string text ) : Vector2
text string
Résultat Vector2

GetTextTexture() public méthode

public GetTextTexture ( string text ) : Texture2D
text string
Résultat UnityEngine.Texture2D

GetTextTexture() public méthode

public GetTextTexture ( string text, int width, int height ) : Texture2D
text string
width int
height int
Résultat UnityEngine.Texture2D

Preload() public méthode

public Preload ( ) : void
Résultat void

SetData() public méthode

public SetData ( Hashtable ht ) : void
ht Hashtable
Résultat void

SetFont() public méthode

public SetFont ( Font f ) : void
f Font
Résultat void

Property Details

KERNING public_oe static_oe property

public static string KERNING
Résultat string

LETTER public_oe static_oe property

public static string LETTER
Résultat string

asciiStartOffset public_oe property

public int asciiStartOffset
Résultat int

kerning public_oe property

public float kerning
Résultat float

kerningPairs public_oe property

public Hashtable kerningPairs
Résultat Hashtable

letter public_oe property

public GUILetter[] letter
Résultat GUILetter[]

lineSpacing public_oe property

public float lineSpacing
Résultat float

preloaded public_oe property

public bool preloaded
Résultat bool