/// <summary> /// Applies the damage of an explosion to the player. /// Parameters: The explosion damage, the explosion intensity and direction. /// </summary> public void ExplosionDamage(float damage, float intensity, Vector3 dir) { ApplyDamage(damage); ui.ShowDamageIndicator(dir); cameraEffects.ExplosionEffect(intensity); cameraAnim.ExplosionShakeCamera(100 * intensity, intensity, 3); }