diff --git a/docs/对接文档_Unity前端.md b/docs/对接文档_Unity前端.md index 6dcd1e4..3167b39 100644 --- a/docs/对接文档_Unity前端.md +++ b/docs/对接文档_Unity前端.md @@ -1,6 +1,6 @@ # 后端对接文档(Unity 前端) -> **版本**:V1.7 +> **版本**:V1.8 > **日期**:2026-06-18 > **Unity 版本**:2022.3.62f3c1 @@ -184,6 +184,11 @@ mgr.GetWaypoints(id) / mgr.GetWaypointsByWave(id, waveId) / mgr.DeleteWaypoint(i // Misc mgr.UpdateStep(id, step) +mgr.GetEnums() → EnumMetadata // 所有枚举定义(下拉框数据源) +// EnumMetadata: DroneType, PowerType, PlatformType, AerosolType, +// WeatherType, WindDirection, SceneType, FormationMode, +// TriggerMode, ReleaseMode, EquipmentRole +// 每个字段是 Dictionary (名称→值) ``` ### SimulationRunner — 仿真执行