C# Class HealthManBarNPC, ES2014B

Inheritance: MonoBehaviour
Mostra file Open project: eloipuertas/ES2014B

Public Properties

Property Type Description
bgBarTexture UnityEngine.Texture2D
coverGlassFGTexture UnityEngine.Texture2D
currentHealth float
currentMana float
healthBarFGTextures List
leftX float
manaBarFGTextures List
maxValueHealth float
maxValueMana float

Public Methods

Method Description
set ( float maxHealth, float maxMana, float currentHealth, float currentMana, float leftX, float topY, float width, float height ) : void
setHealth ( float health ) : void
setHeight ( float height ) : void
setLeftX ( float leftX ) : void
setMana ( float mana ) : void
setMaxHealth ( float maxHealth ) : void
setMaxMana ( float maxMana ) : void
setTopY ( float topY ) : void
setWidth ( float width ) : void

Private Methods

Method Description
Awake ( ) : void
OnGUI ( ) : void
Update ( ) : void
isReady ( ) : bool

Method Details

set() public method

public set ( float maxHealth, float maxMana, float currentHealth, float currentMana, float leftX, float topY, float width, float height ) : void
maxHealth float
maxMana float
currentHealth float
currentMana float
leftX float
topY float
width float
height float
return void

setHealth() public method

public setHealth ( float health ) : void
health float
return void

setHeight() public method

public setHeight ( float height ) : void
height float
return void

setLeftX() public method

public setLeftX ( float leftX ) : void
leftX float
return void

setMana() public method

public setMana ( float mana ) : void
mana float
return void

setMaxHealth() public method

public setMaxHealth ( float maxHealth ) : void
maxHealth float
return void

setMaxMana() public method

public setMaxMana ( float maxMana ) : void
maxMana float
return void

setTopY() public method

public setTopY ( float topY ) : void
topY float
return void

setWidth() public method

public setWidth ( float width ) : void
width float
return void

Property Details

bgBarTexture public_oe property

public Texture2D,UnityEngine bgBarTexture
return UnityEngine.Texture2D

coverGlassFGTexture public_oe property

public Texture2D,UnityEngine coverGlassFGTexture
return UnityEngine.Texture2D

currentHealth public_oe property

public float currentHealth
return float

currentMana public_oe property

public float currentMana
return float

healthBarFGTextures public_oe property

public List healthBarFGTextures
return List

leftX public_oe property

public float leftX
return float

manaBarFGTextures public_oe property

public List manaBarFGTextures
return List

maxValueHealth public_oe property

public float maxValueHealth
return float

maxValueMana public_oe property

public float maxValueMana
return float