fix: TargetConfig加GroupId=default匹配RoutePlan
This commit is contained in:
parent
6bbad9155a
commit
aa6e4d3508
@ -35,6 +35,7 @@ namespace CounterDrone.Unity
|
||||
scenarioMgr.SaveScene(taskId, new CombatScene { WindSpeed = 0 });
|
||||
scenarioMgr.SaveTarget(taskId, new TargetConfig
|
||||
{
|
||||
GroupId = "default",
|
||||
TargetType = (int)TargetType.Piston, PowerType = (int)PowerType.Piston,
|
||||
Quantity = 1, TypicalSpeed = 200, TypicalAltitude = 500,
|
||||
});
|
||||
|
||||
@ -51,6 +51,7 @@ namespace CounterDrone.Unity
|
||||
});
|
||||
scenario.SaveTarget(taskId, new TargetConfig
|
||||
{
|
||||
GroupId = "default",
|
||||
TargetType = (int)TargetType.Piston, PowerType = (int)PowerType.Piston,
|
||||
Quantity = 1, TypicalSpeed = _droneSpeed, TypicalAltitude = 500,
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user