Beispiel #1
0
 // Update is called once per frame
 void Update()
 {
     if (healthbar != null)
     {
         healthbar.SetHealthFrac(m_health / (float)maxHealth);
     }
 }