Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
PlayerHealthbarGUI Class Reference

Public Attributes

RectTransform healthbarUnder
 
RectTransform healthbarTransform
 
TMP_Text healthText
 
float healthbarXLoc
 

Private Member Functions

void OnEnable ()
 
void OnDisable ()
 
void Awake ()
 
void Start ()
 
void updateHealthBar (int newHealth)
 

Private Attributes

PlayerHealth playerHealth
 
float healthMultiplier = 5f
 

Member Function Documentation

◆ Awake()

void PlayerHealthbarGUI.Awake ( )
private

◆ OnDisable()

void PlayerHealthbarGUI.OnDisable ( )
private

◆ OnEnable()

void PlayerHealthbarGUI.OnEnable ( )
private

◆ Start()

void PlayerHealthbarGUI.Start ( )
private

◆ updateHealthBar()

void PlayerHealthbarGUI.updateHealthBar ( int newHealth)
private

Member Data Documentation

◆ healthbarTransform

RectTransform PlayerHealthbarGUI.healthbarTransform

◆ healthbarUnder

RectTransform PlayerHealthbarGUI.healthbarUnder

◆ healthbarXLoc

float PlayerHealthbarGUI.healthbarXLoc

◆ healthMultiplier

float PlayerHealthbarGUI.healthMultiplier = 5f
private

◆ healthText

TMP_Text PlayerHealthbarGUI.healthText

◆ playerHealth

PlayerHealth PlayerHealthbarGUI.playerHealth
private

The documentation for this class was generated from the following file: