C# 클래스 HUDElement, RPGQuest

Base class for all elements in the HUD.
상속: MonoBehaviour
파일 보기 프로젝트 열기: hughrogers/RPGQuest 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
alphaBlend bool
asInt bool
barColor int
bounds Rect
columns int
contentType HUDContentType
displayType HUDDisplayType
divider string
fold bool
imageAspect float
imageName string
nameType HUDNameType
numberVariable bool
rows int
scaleMode ScaleMode,
shadowColor int
shadowOffset Vector2
showBox bool
showMax bool
showShadow bool
spacing float
statusID int
text string[]
textAnchor TextAnchor
textColor int
texture UnityEngine.Texture2D
type HUDElementType
useImage bool
variableName string

공개 메소드들

메소드 설명
AddTexture ( Texture2D hudTexture, Character, c, Vector2 pos, GUIFont, font, int hudID ) : Texture2D
Changed ( Character, c, int hudID ) : bool
GetImage ( ) : Texture2D
GetImageOptions ( Hashtable ht ) : Hashtable
GetTextOptions ( Hashtable ht ) : Hashtable
GetVariableText ( ) : string
HUDElement ( ) : System.Collections
SetImageOptions ( Hashtable ht ) : void
SetTextOptions ( Hashtable ht ) : void
ShowElement ( Character, c ) : void

비공개 메소드들

메소드 설명
GetAnchoredRect ( Vector2 pos, Vector2 size, Rect b ) : Rect

메소드 상세

AddTexture() 공개 메소드

public AddTexture ( Texture2D hudTexture, Character, c, Vector2 pos, GUIFont, font, int hudID ) : Texture2D
hudTexture UnityEngine.Texture2D
c Character,
pos Vector2
font GUIFont,
hudID int
리턴 UnityEngine.Texture2D

Changed() 공개 메소드

public Changed ( Character, c, int hudID ) : bool
c Character,
hudID int
리턴 bool

GetImage() 공개 메소드

public GetImage ( ) : Texture2D
리턴 UnityEngine.Texture2D

GetImageOptions() 공개 메소드

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

GetTextOptions() 공개 메소드

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

GetVariableText() 공개 메소드

public GetVariableText ( ) : string
리턴 string

HUDElement() 공개 메소드

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

SetImageOptions() 공개 메소드

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

SetTextOptions() 공개 메소드

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

ShowElement() 공개 메소드

public ShowElement ( Character, c ) : void
c Character,
리턴 void

프로퍼티 상세

alphaBlend 공개적으로 프로퍼티

public bool alphaBlend
리턴 bool

asInt 공개적으로 프로퍼티

public bool asInt
리턴 bool

barColor 공개적으로 프로퍼티

public int barColor
리턴 int

bounds 공개적으로 프로퍼티

public Rect bounds
리턴 Rect

columns 공개적으로 프로퍼티

public int columns
리턴 int

contentType 공개적으로 프로퍼티

public HUDContentType contentType
리턴 HUDContentType

displayType 공개적으로 프로퍼티

public HUDDisplayType displayType
리턴 HUDDisplayType

divider 공개적으로 프로퍼티

public string divider
리턴 string

fold 공개적으로 프로퍼티

public bool fold
리턴 bool

imageAspect 공개적으로 프로퍼티

public float imageAspect
리턴 float

imageName 공개적으로 프로퍼티

public string imageName
리턴 string

nameType 공개적으로 프로퍼티

public HUDNameType nameType
리턴 HUDNameType

numberVariable 공개적으로 프로퍼티

public bool numberVariable
리턴 bool

rows 공개적으로 프로퍼티

public int rows
리턴 int

scaleMode 공개적으로 프로퍼티

public ScaleMode, scaleMode
리턴 ScaleMode,

shadowColor 공개적으로 프로퍼티

public int shadowColor
리턴 int

shadowOffset 공개적으로 프로퍼티

public Vector2 shadowOffset
리턴 Vector2

showBox 공개적으로 프로퍼티

public bool showBox
리턴 bool

showMax 공개적으로 프로퍼티

public bool showMax
리턴 bool

showShadow 공개적으로 프로퍼티

public bool showShadow
리턴 bool

spacing 공개적으로 프로퍼티

public float spacing
리턴 float

statusID 공개적으로 프로퍼티

public int statusID
리턴 int

text 공개적으로 프로퍼티

public string[] text
리턴 string[]

textAnchor 공개적으로 프로퍼티

public TextAnchor textAnchor
리턴 TextAnchor

textColor 공개적으로 프로퍼티

public int textColor
리턴 int

texture 공개적으로 프로퍼티

public Texture2D,UnityEngine texture
리턴 UnityEngine.Texture2D

type 공개적으로 프로퍼티

public HUDElementType type
리턴 HUDElementType

useImage 공개적으로 프로퍼티

public bool useImage
리턴 bool

variableName 공개적으로 프로퍼티

public string variableName
리턴 string