Ejemplo n.º 1
0
 /// <summary>
 /// When a bot takes damage these functions are called
 /// </summary>
 private void OnEnemyDamageTaken()
 {
     enemyHealthBar.SetSliderValue(enemyBotController.GetGetHP());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// When a bot takes damage these functions are called
 /// </summary>
 private void OnPlayerDamageTaken()
 {
     playerHealthBar.SetSliderValue(playerBotController.GetGetHP());
 }