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