Files
loneseDocument/Content/Blueprints/WBP_Module2.md
meishibiezb a8bdf281ff update
2026-06-05 03:01:15 +08:00

54 lines
1.7 KiB
Markdown
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.
# WBP_Module2
## 基本信息
- **类型**: WidgetBlueprint (UserWidget)
- **父类**: UserWidget
- **源文件**: /Game/Blueprints/UI/WBP_Module2.WBP_Module2
- **模块**: Content/Blueprints/UI
## 功能概述
模块 UI Widget关联对话框系统中的 WBP_Resources。EventGraph 含 3 个事件和 3 个节点。无自定义变量,结构简单。
## 设计用意
对话框 UI 的模块容器之一,用于承载和显示与 WBP_Resources 相关的资源展示界面。
## 职责范围
- 作为对话框系统的子 UI 模块,嵌入 WBP_Resources
## 项目内依赖
| 依赖项 | 关系 | 源文件 |
|--------|------|--------|
| WBP_Resources | 引用 | /Game/Blueprints/UI/Dialog/WBP_Resources |
## 外部视角
WBP_Module2 是 UserWidget 的子类,从外部调用者视角:
**接口概览**
- 无自定义变量或公开函数
- EventGraph3 事件, 3 节点)— 极简事件图
- 内嵌 WBP_Resources 作为子 Widget
**外部交互方式**
- 作为对话框系统的 UI 模块容器,承载 WBP_Resources 资源显示
- 无公开 API外部通过对话框系统间接使用
**EventGraph 事件**
| 事件 | 类型 | 触发时机 | 行为 |
|------|------|----------|------|
| `事件预构造` | 原生覆盖 (PreConstruct) | Widget 创建时 | 预留(当前无连线逻辑) |
| `事件构造` | 原生覆盖 (Construct) | Widget 创建完成后 | 预留(当前无连线逻辑) |
| `事件Tick` | 原生覆盖 | 每帧 | 预留(当前无连线逻辑) |
## 使用方法
WBP_Module2 在项目中的使用方式:
- 作为对话框 UI 的资源展示模块,嵌入 WBP_Resources 资金显示
- 项目内无其他蓝图直接引用MCP 未发现引用者)
## 用例
(项目内暂无其他蓝图直接引用)