From efdd5ec94fc7828366ee54fa90bbcc7cff0ddb92 Mon Sep 17 00:00:00 2001 From: tian <11429339@qq.com> Date: Thu, 18 Jun 2026 19:46:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=96=87=E6=A1=A3=20V1.8?= =?UTF-8?q?=EF=BC=9AGetEnums=20API=20+=20Manager=20=E5=AE=8C=E6=95=B4?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/对接文档_Unity前端.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 — 仿真执行