IEnumerator HlthUp() { while (bandAid) { yield return(new WaitForSeconds(1f)); checkUp.UpdateValue(1f); } }
public void ChangeValue() { foreach (var data in floatDataList) { if (data == otherNameID) { dataObj.UpdateValue(data.value); } } }
public void ChangeHealth(FloatData incomingDamager) { foreach (var damager in damagerList) { if (damager == incomingDamager) { healthData.UpdateValue(damager.Value); } } }
private IEnumerator PoisonDamage() { while (true) { yield return(tickRate); playerHealth.UpdateValue(poison.GetTickDamage()); healthBar.GetComponent <UIHealthBarController>().UpdateHealthBar(); } }
public void ChangeHealth() { foreach (var damager in damagerList) { if (damager == otherNameID) { healthData.UpdateValue(damager.Value); } } }
private void OnTriggerEnter(Collider other) { data.UpdateValue(-.1f); }
public void DoDamage() { playerHealth.UpdateValue(firePower); }
public void UpdateValue() { dataObj.UpdateValue(fromNameId.value); }
public void UpdateFloatData(float number) { floatDataObj.UpdateValue(number); }
public void DoDamage() { playerHealth.UpdateValue(firePower); damageAction.Raise(); }
private void OnTriggerEnter(Collider other) { data.UpdateValue(-.1f); triggerEnterEvents.Invoke(); }
private void OnTriggerEnter(Collider other) { health.UpdateValue(amount: 0.1f); }
private void AddPoint(float value) { score.UpdateValue(value); score.DisplayNumber(targetText); }