C# 클래스 GUIFont, RPGQuest

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

공개 프로퍼티들

프로퍼티 타입 설명
KERNING string
LETTER string
asciiStartOffset int
kerning float
kerningPairs Hashtable
letter GUILetter[]
lineSpacing float
preloaded bool

공개 메소드들

메소드 설명
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

메소드 상세

AddTextTexture() 공개 메소드

public AddTextTexture ( Texture2D texture, LabelContent, label, DialoguePosition, dp, Vector2 p2Offset ) : Texture2D
texture UnityEngine.Texture2D
label LabelContent,
dp DialoguePosition,
p2Offset Vector2
리턴 UnityEngine.Texture2D

AddTextTexture() 공개 메소드

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
리턴 UnityEngine.Texture2D

AddTextTexture() 공개 메소드

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
리턴 UnityEngine.Texture2D

GUIFont() 공개 메소드

public GUIFont ( ) : System.Collections
리턴 System.Collections

GUIFont() 공개 메소드

public GUIFont ( Hashtable ht ) : System.Collections
ht Hashtable
리턴 System.Collections

GetData() 공개 메소드

public GetData ( Hashtable ht ) : Hashtable
ht Hashtable
리턴 Hashtable

GetFittingTextLength() 공개 메소드

public GetFittingTextLength ( string text, float space ) : int
text string
space float
리턴 int

GetLetter() 공개 메소드

public GetLetter ( char c ) : GUILetter
c char
리턴 GUILetter

GetLetterKerning() 공개 메소드

public GetLetterKerning ( int first, int second ) : float
first int
second int
리턴 float

GetTextSize() 공개 메소드

public GetTextSize ( string text ) : Vector2
text string
리턴 Vector2

GetTextTexture() 공개 메소드

public GetTextTexture ( string text ) : Texture2D
text string
리턴 UnityEngine.Texture2D

GetTextTexture() 공개 메소드

public GetTextTexture ( string text, int width, int height ) : Texture2D
text string
width int
height int
리턴 UnityEngine.Texture2D

Preload() 공개 메소드

public Preload ( ) : void
리턴 void

SetData() 공개 메소드

public SetData ( Hashtable ht ) : void
ht Hashtable
리턴 void

SetFont() 공개 메소드

public SetFont ( Font f ) : void
f Font
리턴 void

프로퍼티 상세

KERNING 공개적으로 정적으로 프로퍼티

public static string KERNING
리턴 string

LETTER 공개적으로 정적으로 프로퍼티

public static string LETTER
리턴 string

asciiStartOffset 공개적으로 프로퍼티

public int asciiStartOffset
리턴 int

kerning 공개적으로 프로퍼티

public float kerning
리턴 float

kerningPairs 공개적으로 프로퍼티

public Hashtable kerningPairs
리턴 Hashtable

letter 공개적으로 프로퍼티

public GUILetter[] letter
리턴 GUILetter[]

lineSpacing 공개적으로 프로퍼티

public float lineSpacing
리턴 float

preloaded 공개적으로 프로퍼티

public bool preloaded
리턴 bool