Files

60 lines
2.2 KiB
Lua
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
local ____exports = __module.env
____exports.BOOTSTRAP_MAP_NAME = "L_Bootstrap"
____exports.BOOTSTRAP_MAP_PATH = "/Game/Maps/L_Bootstrap"
____exports.UI_DEMO_MAP_NAME = "L_DemoUI"
____exports.UI_DEMO_MAP_PATH = "/Game/Maps/L_DemoUI"
____exports.DEMO_SCENES = {{
id = "ui_demo",
title = "UI 主界面与窗口实验室(UI Demo)",
description = "完整演示游戏主界面布局、常用 UMG 控件(按钮/复选框/滑条/进度条/微调器/输入框/下拉框/动态列表/异步贴图)及 7 类窗口策略(普通/全屏互斥/模态/缓存复用/多实例/飘字/系统顶层)。",
mapName = ____exports.UI_DEMO_MAP_NAME,
mapAssetPath = ____exports.UI_DEMO_MAP_PATH,
tags = "UMG · 多层窗口栈 · 委托自动解绑 · 中文字体",
enabled = true
}, {
id = "coming_resource_demo",
title = "资源热更与异步加载演示(预留槽位)",
description = "后续将在此扩展 PatchManifest 覆盖、并发合并加载与 GC 引用计数可视化演示。",
mapName = "L_DemoResource",
mapAssetPath = "/Game/Maps/L_DemoResource",
tags = "规划中 · ResourceService",
enabled = false
}, {
id = "coming_gameplay_demo",
title = "3D 角色控制与输入演示(预留槽位)",
description = "后续将在此扩展 EnhancedInput、角色移动、射线检测与 HUD 非阻塞交互演示。",
mapName = "L_DemoGameplay",
mapAssetPath = "/Game/Maps/L_DemoGameplay",
tags = "规划中 · Gameplay / HUD",
enabled = false
}}
function ____exports.GetDemoScenes()
return ____exports.DEMO_SCENES
end
function ____exports.FindDemoSceneById(id)
do
local i = 0
while i < #____exports.DEMO_SCENES do
if ____exports.DEMO_SCENES[i + 1].id == id then
return ____exports.DEMO_SCENES[i + 1]
end
i = i + 1
end
end
return nil
end
function ____exports.FindDemoSceneByMapName(mapName)
do
local i = 0
while i < #____exports.DEMO_SCENES do
if ____exports.DEMO_SCENES[i + 1].mapName == mapName then
return ____exports.DEMO_SCENES[i + 1]
end
i = i + 1
end
end
return nil
end
function __module.UpdateImports()
end