private void WasDamaged(InfoCollision info, float damage) { Debug.Log($"Игрок получил урон:{damage}, источник: {info.Source.name}"); }
/// <summary> /// Actions when was damaged /// </summary> /// <param name="info"></param> protected override void WasDamaged(InfoCollision info) { base.WasDamaged(info); SetCondition(Conditions.Angry); }