public void CallonHurt() { onHurt?.Invoke(curHealth / maxHealth); }
public void CallcallBack(HealthDelegate function) { callBack?.Invoke(curHealth / maxHealth); }