C# Class HUDElement, RPGQuest

Base class for all elements in the HUD.
Inheritance: MonoBehaviour
Afficher le fichier Open project: hughrogers/RPGQuest Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetAnchoredRect ( Vector2 pos, Vector2 size, Rect b ) : Rect

Method Details

AddTexture() public méthode

public AddTexture ( Texture2D hudTexture, Character, c, Vector2 pos, GUIFont, font, int hudID ) : Texture2D
hudTexture UnityEngine.Texture2D
c Character,
pos Vector2
font GUIFont,
hudID int
Résultat UnityEngine.Texture2D

Changed() public méthode

public Changed ( Character, c, int hudID ) : bool
c Character,
hudID int
Résultat bool

GetImage() public méthode

public GetImage ( ) : Texture2D
Résultat UnityEngine.Texture2D

GetImageOptions() public méthode

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

GetTextOptions() public méthode

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

GetVariableText() public méthode

public GetVariableText ( ) : string
Résultat string

HUDElement() public méthode

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

SetImageOptions() public méthode

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

SetTextOptions() public méthode

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

ShowElement() public méthode

public ShowElement ( Character, c ) : void
c Character,
Résultat void

Property Details

alphaBlend public_oe property

public bool alphaBlend
Résultat bool

asInt public_oe property

public bool asInt
Résultat bool

barColor public_oe property

public int barColor
Résultat int

bounds public_oe property

public Rect bounds
Résultat Rect

columns public_oe property

public int columns
Résultat int

contentType public_oe property

public HUDContentType contentType
Résultat HUDContentType

displayType public_oe property

public HUDDisplayType displayType
Résultat HUDDisplayType

divider public_oe property

public string divider
Résultat string

fold public_oe property

public bool fold
Résultat bool

imageAspect public_oe property

public float imageAspect
Résultat float

imageName public_oe property

public string imageName
Résultat string

nameType public_oe property

public HUDNameType nameType
Résultat HUDNameType

numberVariable public_oe property

public bool numberVariable
Résultat bool

rows public_oe property

public int rows
Résultat int

scaleMode public_oe property

public ScaleMode, scaleMode
Résultat ScaleMode,

shadowColor public_oe property

public int shadowColor
Résultat int

shadowOffset public_oe property

public Vector2 shadowOffset
Résultat Vector2

showBox public_oe property

public bool showBox
Résultat bool

showMax public_oe property

public bool showMax
Résultat bool

showShadow public_oe property

public bool showShadow
Résultat bool

spacing public_oe property

public float spacing
Résultat float

statusID public_oe property

public int statusID
Résultat int

text public_oe property

public string[] text
Résultat string[]

textAnchor public_oe property

public TextAnchor textAnchor
Résultat TextAnchor

textColor public_oe property

public int textColor
Résultat int

texture public_oe property

public Texture2D,UnityEngine texture
Résultat UnityEngine.Texture2D

type public_oe property

public HUDElementType type
Résultat HUDElementType

useImage public_oe property

public bool useImage
Résultat bool

variableName public_oe property

public string variableName
Résultat string