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