对接文档 V1.8:GetEnums API + Manager 完整方法列表

This commit is contained in:
tian 2026-06-18 19:46:53 +08:00
parent 1fdffd2a41
commit efdd5ec94f

View File

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