public void SetDamage(InfoCollision info) { OnApplyDamageChange?.Invoke(new InfoCollision(info.Damage * 500, info.Contact, info.ObjCollision, info.Dir)); }
public void OnCollision(InfoCollision info) { OnApplyDamageChange?.Invoke(info); }
public void OnCollision(InfoCollision info) { OnApplyDamageChange.Invoke(new InfoCollision(info.Damage * 500, info.Contact, info.ObjectCollision, info.Direction)); }
public void SetDamage(InfoCollision info) { Debug.Log(info.Damage * _damageMultipler + "head damage"); OnApplyDamageChange?.Invoke(info); }
public void OnCollision(InfoCollision info) { Debug.Log($"HeadBot.OnCollision.Info:{info.Damage}"); OnApplyDamageChange?.Invoke(new InfoCollision(info.Damage * 500, info.Contact, info.ObjCollision, info.Direction)); }
public void OnCollision(InfoCollision info) { Debug.Log($"BodyBot.OnCollision.Info:{info.Damage}"); OnApplyDamageChange?.Invoke(info); }