45 lines
2.4 KiB
Markdown
45 lines
2.4 KiB
Markdown
# Content/Blueprints 依赖关系
|
|
|
|
## 文件间引用关系
|
|
|
|
| 源文件 | 引用方式 | 目标文件 | 目标单位 |
|
|
|--------|---------|---------|---------|
|
|
| BP_TestChar | 父类 | AMyCharacter | Source/lonese/MyCharacter.h |
|
|
| BP_TestCtl | 父类 | AMyPlayerController | Source/lonese/MyPlayerController.h |
|
|
| BP_CameraPawn | 父类 | ACameraPawn | Source/lonese/CameraPawn.h |
|
|
| BP_TestMode | 父类 | GameModeBase | Engine |
|
|
| BP_Hud | 父类 | HUD | Engine |
|
|
| BP_UniversalEndpointComp | 父类 | UEndpointComponent | CharacterControl plugin |
|
|
| BP_MoveInput | 父类 | UEndpointComponent | CharacterControl plugin |
|
|
| BP_ControllerComp | 父类 | BP_EndpointComp_C | Content/Blueprints |
|
|
| BP_SayHello | 父类 | UEndpointComponent | CharacterControl plugin |
|
|
| BP_DefaultContainer | 父类 | UDefaultContainer | Item plugin |
|
|
| BP_InventoryComp | 父类 | ActorComponent | Engine |
|
|
| BP_DropItemInvComp | 父类 | BP_InventoryComp | Content/Blueprints |
|
|
| BP_Bomb | 父类 | Actor | Engine |
|
|
| WBP_TestUI | 父类 | UserWidget | Engine |
|
|
| WBP_InventoryView | 父类 | UserWidget | Engine |
|
|
| BP_TestChar | 组件 | BP_UniversalEndpointComp | Content/Blueprints |
|
|
| BP_TestChar | 组件 | BP_MoveInput | Content/Blueprints |
|
|
| BP_TestChar | 组件 | BP_ControllerComp | Content/Blueprints |
|
|
| BP_TestChar | 组件 | BP_SayHello | Content/Blueprints |
|
|
| BP_TestChar | 组件 | UCommandRouterComponent | CharacterControl plugin |
|
|
| BP_TestChar | CameraActorClass | BP_CameraPawn | Content/Blueprints |
|
|
| BP_TestMode | DefaultPawnClass | BP_TestChar | Content/Blueprints |
|
|
| BP_TestMode | PlayerControllerClass | BP_TestCtl | Content/Blueprints |
|
|
| BP_TestMode | HUDClass | BP_Hud | Content/Blueprints |
|
|
|
|
## 关键依赖链
|
|
|
|
Game Mode → Pawn: BP_TestMode (DefaultPawnClass=BP_TestChar, PlayerControllerClass=BP_TestCtl, HUDClass=BP_Hud)
|
|
|
|
Character → Camera: BP_TestChar → CameraActorClass=BP_CameraPawn → ACameraPawn
|
|
|
|
Input Pipeline: BP_TestCtl (AMyPlayerController) → Enhanced Input → UCommandInputComponent (on BP_TestChar) → UCommandRouterComponent → UEndpointComponent subclasses
|
|
|
|
Item Pipeline: BP_DefaultContainer (UDefaultContainer) ← BP_InventoryComp (IInventory) ← BP_DropItemInvComp
|
|
|
|
UI Pipeline: WBP_TestUI (implements IPresentationScriptExecutor) → UDialogPresentationSubsystem
|
|
|
|
Item UI: WBP_InventoryView → BP_InventoryComp (via ViewCache/OnViewChanged) → BP_DefaultContainer (IItemContainer)
|