fix: Unity 测试配置 - 火力单元改为 8×3 发(与集成测试一致)
This commit is contained in:
parent
66537d1621
commit
7d080bc929
Binary file not shown.
@ -61,10 +61,17 @@ namespace CounterDrone.Unity
|
||||
Route = detail.Routes[0],
|
||||
Waypoints = detail.WaypointGroups["default"],
|
||||
};
|
||||
var fireUnits = new List<FireUnit>
|
||||
{
|
||||
new FireUnit { Id = "u0", Type = PlatformType.GroundBased, Position = new AVector3(5000, 0, 50), MuzzleVelocity = 800, TotalMunitions = 1, AmmoTypes = new() { AerosolType.InertGas, AerosolType.ActiveMaterial, AerosolType.ActiveFuel } },
|
||||
};
|
||||
var fireUnits = new List<FireUnit>();
|
||||
for (int i = 0; i < 8; i++)
|
||||
fireUnits.Add(new FireUnit
|
||||
{
|
||||
Id = $"u{i}",
|
||||
Type = PlatformType.GroundBased,
|
||||
Position = new AVector3(5000 + i * 50, 0, 50),
|
||||
MuzzleVelocity = 800,
|
||||
TotalMunitions = 3,
|
||||
AmmoTypes = new() { AerosolType.InertGas, AerosolType.ActiveMaterial, AerosolType.ActiveFuel },
|
||||
});
|
||||
var result = new DefaultDefensePlanner(ammoCatalog).Plan(fireUnits, new List<DroneGroup> { droneGroup }, detail.Scene);
|
||||
scenarioMgr.SaveCloud(taskId, new CloudDispersal
|
||||
{
|
||||
|
||||
@ -74,10 +74,17 @@ namespace CounterDrone.Unity
|
||||
Route = detail.Routes[0],
|
||||
Waypoints = detail.WaypointGroups["default"],
|
||||
};
|
||||
var fireUnits = new List<FireUnit>
|
||||
{
|
||||
new FireUnit { Id = "u0", Type = PlatformType.GroundBased, Position = new AVector3(5000, 0, 50), MuzzleVelocity = 800, TotalMunitions = 1, AmmoTypes = new() { AerosolType.InertGas, AerosolType.ActiveMaterial, AerosolType.ActiveFuel } },
|
||||
};
|
||||
var fireUnits = new List<FireUnit>();
|
||||
for (int i = 0; i < 8; i++)
|
||||
fireUnits.Add(new FireUnit
|
||||
{
|
||||
Id = $"u{i}",
|
||||
Type = PlatformType.GroundBased,
|
||||
Position = new AVector3(5000 + i * 50, 0, 50),
|
||||
MuzzleVelocity = 800,
|
||||
TotalMunitions = 3,
|
||||
AmmoTypes = new() { AerosolType.InertGas, AerosolType.ActiveMaterial, AerosolType.ActiveFuel },
|
||||
});
|
||||
var result = planner.Plan(fireUnits, new List<DroneGroup> { droneGroup }, detail.Scene);
|
||||
scenario.SaveCloudDispersal(taskId, new CloudDispersal
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user