diff --git a/docs/对接文档_Unity前端.md b/docs/对接文档_Unity前端.md index e150eac..cc9438b 100644 --- a/docs/对接文档_Unity前端.md +++ b/docs/对接文档_Unity前端.md @@ -1,4 +1,4 @@ -# 后端对接文档(Unity 前端) +# 后端对接文档(Unity 前端) > **版本**:V1.8 > **日期**:2026-06-18 @@ -262,7 +262,7 @@ replay.TotalFrames / replay.GetFrame(index) 基础数据(全局模板) 想定数据(归属 ScenarioId) ───────────────── ────────────────────────── DroneSpec ScenarioDrone (DroneSpecId FK) -FireUnitSpec ScenarioUnit (FireUnitSpecId / SensorSpecId FK) +LaunchPlatformSpec ScenarioUnit (LaunchPlatformSpecId / SensorSpecId FK) SensorSpec AmmunitionSpec EnvironmentSpec @@ -278,14 +278,15 @@ ModelInfo | `Scenario` | `Scenario` | 想定任务 | | `CombatScene` | `CombatScene` | 作战环境 | | `ScenarioDrone` | `ScenarioDrone` | 无人机批次(引用 DroneSpec) | -| `ScenarioUnit` | `ScenarioUnit` | 装备部署(引用 FireUnitSpec/SensorSpec) | +| `ScenarioUnit` | `ScenarioUnit` | 装备部署(引用 LaunchPlatformSpec/SensorSpec) | | `CloudDispersal` | `CloudDispersal` | 云团抛撒配置 | | `RoutePlan` | `RoutePlan` | 航路规划 | | `Waypoint` | `Waypoint` | 航路点 | | `ControlZone` | `ControlZone` | 管控区域 | | `SimulationReport` | `SimulationReport` | 仿真报告 | | `DroneSpec` | `DroneSpec` | 无人机基础模板 | -| `FireUnitSpec` | `FireUnitSpec` | 火力单元基础模板 | +| `LaunchPlatformSpec` | `LaunchPlatformSpec` | 发射平台模板 | +| `FireUnitSpec` | `FireUnitSpec` | 火力单元(保留不用) | | `SensorSpec` | `SensorSpec` | 传感器基础模板 | | `AmmunitionSpec` | `AmmunitionSpec` | 弹药基础参数 | | `EnvironmentSpec` | `EnvironmentSpec` | 环境基础模板 | @@ -300,7 +301,7 @@ ModelInfo | `ScenarioDrone` | `DroneSpecId` | string | FK → DroneSpec | | `ScenarioDrone` | `WaveId` | string | 批次 ID | | `ScenarioDrone` | `Quantity` | int | 数量 | -| `ScenarioUnit` | `FireUnitSpecId` | string | FK → FireUnitSpec(发射平台) | +| `ScenarioUnit` | `LaunchPlatformSpecId` | string | FK → FireUnitSpec(发射平台) | | `ScenarioUnit` | `SensorSpecId` | string | FK → SensorSpec(探测设备) | | `ScenarioUnit` | `PositionX/Y/Z` | double | 部署位置 | | `ScenarioUnit` | `AerosolType` | int? | 挂载弹药类型 | @@ -313,11 +314,11 @@ ModelInfo | `DroneSpec` | `PowerType` | PowerType | Electric / Piston / Jet | | `DroneSpec` | `TypicalSpeed` | double | 典型速度 (km/h) | | `DroneSpec` | `TypicalAltitude` | double | 典型高度 (m) | -| `FireUnitSpec` | `Description` | string | 描述/用途 | -| `FireUnitSpec` | `ModelId` | string | 3D 模型 FK → ModelInfo | -| `FireUnitSpec` | `MuzzleVelocity` | double | 初速 (m/s) | -| `FireUnitSpec` | `CruiseSpeed` | double | 巡航速度 (m/s) | -| `FireUnitSpec` | `RadarRange` | double | 雷达距离 (m) | +| `FireUnitSpec` | `Description` | string | 描述/用途(保留不用) | +| `LaunchPlatformSpec` | `Description` | string | 描述/用途 | +| `LaunchPlatformSpec` | `ModelId` | string | 3D 模型 FK → ModelInfo | +| `LaunchPlatformSpec` | `MuzzleVelocity` | double | 初速 (m/s) | +| `LaunchPlatformSpec` | `CruiseSpeed` | double | 巡航速度 (m/s) | | `ModelInfo` | `EntityType` | int | 实体类型 0=Drone 1=Platform 2=DetectionEquip | | `ModelInfo` | `FilePath` | string | 模型文件路径 | | `Scenario` | `ScenarioNumber` | string | 想定编号(唯一) |