gd: fixed look inputs
This commit is contained in:
@ -140,7 +140,6 @@ public partial class HealthSystem : Node3D
|
||||
|
||||
private bool _dead;
|
||||
private Node3D _head;
|
||||
private AnimationPlayer _animationPlayer;
|
||||
private ShaderMaterial _blurMaterial;
|
||||
|
||||
public struct HealthSystemInitParams
|
||||
@ -148,7 +147,6 @@ public partial class HealthSystem : Node3D
|
||||
public Gravity Gravity;
|
||||
public CharacterBody3D Parent;
|
||||
public Camera3D Camera;
|
||||
public AnimationPlayer AnimationPlayer;
|
||||
public Node3D Head;
|
||||
public ColorRect VignetteRect;
|
||||
public ColorRect DistortionRect;
|
||||
@ -187,8 +185,6 @@ public partial class HealthSystem : Node3D
|
||||
|
||||
_blurMaterial.SetShaderParameter(Constants.BLUR_SHADER_LIMIT, 0.0f);
|
||||
_blurMaterial.SetShaderParameter(Constants.BLUR_SHADER_BLUR, 0.0f);
|
||||
|
||||
_animationPlayer = initParams.AnimationPlayer;
|
||||
}
|
||||
|
||||
public override void _Process(double delta)
|
||||
@ -250,7 +246,6 @@ public partial class HealthSystem : Node3D
|
||||
|
||||
if (!_deathAnimationPlayed)
|
||||
{
|
||||
_animationPlayer.PlayCameraRotationOnDeath();
|
||||
_deathAnimationPlayed = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user