@@ -24,21 +24,21 @@ public partial class DashSystem: Node3D
|
||||
|
||||
public bool ShouldMantle { get; set; }
|
||||
public Vector3 PlannedMantleLocation { get; set; }
|
||||
public MantleSystem MantleSystem { get; set; }
|
||||
public MantleSystem MantleSystem { get; set; } = null!;
|
||||
|
||||
private HeadSystem Head;
|
||||
public ShapeCast3D DashCast3D;
|
||||
private Camera3D Camera;
|
||||
private HeadSystem Head = null!;
|
||||
public ShapeCast3D DashCast3D = null!;
|
||||
private Camera3D Camera = null!;
|
||||
private Vector3 DashDirection = Vector3.Zero;
|
||||
|
||||
private ShapeCast3D DashCastDrop;
|
||||
private MeshInstance3D DashDropIndicator;
|
||||
private MeshInstance3D DashDropLocationIndicator;
|
||||
private MeshInstance3D DashTarget;
|
||||
private CpuParticles3D DashIndicator;
|
||||
private AnimationPlayer DashIndicatorAnim;
|
||||
private ShapeCast3D DashCastDrop = null!;
|
||||
private MeshInstance3D DashDropIndicator = null!;
|
||||
private MeshInstance3D DashDropLocationIndicator = null!;
|
||||
private MeshInstance3D DashTarget = null!;
|
||||
private CpuParticles3D DashIndicator = null!;
|
||||
private AnimationPlayer DashIndicatorAnim = null!;
|
||||
|
||||
[Export] public PackedScene DashIndicatorScene { get; set; }
|
||||
[Export] public PackedScene DashIndicatorScene { get; set; } = null!;
|
||||
|
||||
[Signal]
|
||||
public delegate void DashStartedEventHandler();
|
||||
|
||||
@@ -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;
|
||||
public StateChartState InHandState;
|
||||
public StateChartState FlyingState;
|
||||
public StateChartState PlantedState;
|
||||
private ShapeCast3D _dashCast3D;
|
||||
private StateChart _weaponState = null!;
|
||||
public StateChartState InHandState = null!;
|
||||
public StateChartState FlyingState = null!;
|
||||
public StateChartState PlantedState = null!;
|
||||
private ShapeCast3D _dashCast3D = null!;
|
||||
|
||||
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; }
|
||||
public StandardMaterial3D WeaponLocationIndicatorMaterial { get; set; }
|
||||
public MeshInstance3D WeaponMesh { get; set; }
|
||||
public MeshInstance3D WeaponLocationIndicator { get; set; } = null!;
|
||||
public StandardMaterial3D WeaponLocationIndicatorMaterial { get; set; } = null!;
|
||||
public MeshInstance3D WeaponMesh { get; set; } = null!;
|
||||
|
||||
public void Init()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user