C# Class CharacterStatusGui, 006762

Inheritance: MonoBehaviour
显示文件 Open project: gilbutITbook/006762 Class Usage Examples

Public Properties

Property Type Description
backLifeBarTexture Texture
frontLifeBarTexture Texture
nameLabelStyle GUIStyle

Public Methods

Method Description
Awake ( ) : void
DrawCharacterStatus ( float x, float y, CharacterStatus, status, Rect bar_rect, Color front_color ) : void
DrawEnemyStatus ( ) : void
DrawPlayerStatus ( ) : void
OnGUI ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

DrawCharacterStatus() public method

public DrawCharacterStatus ( float x, float y, CharacterStatus, status, Rect bar_rect, Color front_color ) : void
x float
y float
status CharacterStatus,
bar_rect Rect
front_color Color
return void

DrawEnemyStatus() public method

public DrawEnemyStatus ( ) : void
return void

DrawPlayerStatus() public method

public DrawPlayerStatus ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

Property Details

backLifeBarTexture public_oe property

public Texture backLifeBarTexture
return Texture

frontLifeBarTexture public_oe property

public Texture frontLifeBarTexture
return Texture

nameLabelStyle public_oe property

public GUIStyle nameLabelStyle
return GUIStyle