C# Class PixelCanvasController, Left4Bread

Inheritance: MonoBehaviour
Afficher le fichier Open project: andresg6/Left4Bread Class Usage Examples

Méthodes publiques

Свойство Type Description
HPPanel UnityEngine.RectTransform
healthImage Image

Méthodes publiques

Méthode Description
Start ( ) : void
Update ( ) : void
updatePlayerHealth ( int newCurrentHealth, int newMaxHealth ) : void

Private Methods

Méthode Description
updatePlayerCurrentHealth ( int newHP ) : void
updatePlayerMaxHealth ( int newMax ) : void

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

updatePlayerHealth() public méthode

public updatePlayerHealth ( int newCurrentHealth, int newMaxHealth ) : void
newCurrentHealth int
newMaxHealth int
Résultat void

Property Details

HPPanel public_oe property

public RectTransform,UnityEngine HPPanel
Résultat UnityEngine.RectTransform

healthImage public_oe property

public Image healthImage
Résultat Image