public void UpdateBar()
 {
     if (target != null)
     {
         targetHP.Value    = target.GetHealth();
         targetMaxHP.Value = target.GetMaxHealth();
         isTargeting.Value = true;
     }
     else
     {
         isTargeting.Value = false;
     }
 }