This repo contains an example project on how to use CommonUI
and PocketWorlds
plugins, found in Epic's Lyra Sample Game
For CommonUI to work, the project imports CommonGame and copied over functionality from Lyra class where needed.
Below is a TL;DR on how a pocket world is used
- Spawn PocketWorld on Start, StreamOut until ready to use
- Done in
AUE5PocketWorldsPlayerController::InitInventoryPocketWorld()
- Done in
- Once Inventory opened, obtain level and StreamIn
- In
UUW_PlayerRepresentation::NativeConstruct()
- In
- On Inventory closed, StreamOut level
- In
UUW_CharacterRepresentation::NativeDestruct
- In