示例#1
0
 void OnPlayerDamage(PlayerController pc)
 {
     Debug.Log("Player took damage");
     uiLifeBar.SetHealth(pc.health);
     lastPlayerHealth = pc.health;
 }