removed null!
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 20s
Create tag and build when new code gets to main / Export (push) Successful in 4m52s

This commit is contained in:
2026-02-26 19:18:27 +01:00
parent 5408f455af
commit 290f79afd4
16 changed files with 151 additions and 151 deletions

View File

@@ -24,21 +24,21 @@ public partial class DashSystem: Node3D
public bool ShouldMantle { get; set; }
public Vector3 PlannedMantleLocation { get; set; }
public MantleSystem MantleSystem { get; set; } = null!;
public MantleSystem MantleSystem { get; set; }
private HeadSystem Head = null!;
public ShapeCast3D DashCast3D = null!;
private Camera3D Camera = null!;
private HeadSystem Head;
public ShapeCast3D DashCast3D;
private Camera3D Camera;
private Vector3 DashDirection = Vector3.Zero;
private ShapeCast3D DashCastDrop = null!;
private MeshInstance3D DashDropIndicator = null!;
private MeshInstance3D DashDropLocationIndicator = null!;
private MeshInstance3D DashTarget = null!;
private CpuParticles3D DashIndicator = null!;
private AnimationPlayer DashIndicatorAnim = null!;
private ShapeCast3D DashCastDrop;
private MeshInstance3D DashDropIndicator;
private MeshInstance3D DashDropLocationIndicator;
private MeshInstance3D DashTarget;
private CpuParticles3D DashIndicator;
private AnimationPlayer DashIndicatorAnim;
[Export] public PackedScene DashIndicatorScene { get; set; } = null!;
[Export] public PackedScene DashIndicatorScene { get; set; }
[Signal]
public delegate void DashStartedEventHandler();

View File

@@ -22,11 +22,11 @@ public partial class WeaponSystem : RigidBody3D, IDamageDealer
[Export(PropertyHint.Range, "0,0.2,0.01,or_greater")]
public float StraightThrowDuration { get; set; } = 0.1f;
private StateChart _weaponState = null!;
public StateChartState InHandState = null!;
public StateChartState FlyingState = null!;
public StateChartState PlantedState = null!;
private ShapeCast3D _dashCast3D = null!;
private StateChart _weaponState;
public StateChartState InHandState;
public StateChartState FlyingState;
public StateChartState PlantedState;
private ShapeCast3D _dashCast3D;
private Transform3D _startTransform;
private Vector3 _startMeshRotation;
@@ -36,9 +36,9 @@ public partial class WeaponSystem : RigidBody3D, IDamageDealer
public Vector3 PlantNormal { get; set; }
public Node? PlantObject { get; set; }
public MeshInstance3D WeaponLocationIndicator { get; set; } = null!;
public StandardMaterial3D WeaponLocationIndicatorMaterial { get; set; } = null!;
public MeshInstance3D WeaponMesh { get; set; } = null!;
public MeshInstance3D WeaponLocationIndicator { get; set; }
public StandardMaterial3D WeaponLocationIndicatorMaterial { get; set; }
public MeshInstance3D WeaponMesh { get; set; }
public void Init()
{