TFramework
A reusable Unity game client foundation framework. Built with VContainer DI, UniTask, and R3 to provide UI management, scene transitions, asset management, master data, save data, and networking—actively powering Neko Relic.
Traditional Setup: Rewriting UI stacks, routing, and data loaders per title
TFramework: VContainer DI + UniTask/R3 + UI Stack + Scene / Asset / Save / Data
Overview
TFramework is a reusable Unity game client foundation framework built by consolidating patterns and lessons from commercial mobile development. Rather than tying to one genre, it packages common client infrastructure—UI management, scene flow, asset management, master data, saving, and networking—into modular components.
Responsibilities
I handled the architecture design and implementation of all modules solo:
- Service-layer structure and dependency injection built around VContainer
- UI Management covering Pages, Dialogs, Loading overlays, cross-scene persistent UI, and virtualized scroll lists
- Scene transition flow and Addressables-based asset loading with grouped handle release
- CSV/Excel MasterData code generation, local Save System, API/Network layer, Audio, Localization, and Logging
Challenges
When starting a new Unity project, foundational pieces like screen stacks, loading gates, asset cleanup, and data loaders often end up being rewritten from scratch. Over time, singleton-heavy wiring also makes classes hard to test or swap out.
Solutions
I structured TFramework around self-contained modules that cover the core client responsibilities:
- UI Management: Built natively on Addressables async loading with Page/Dialog stack routing, loading overlays, cross-scene UI persistence, and virtual scroll lists for long item grids.
- VContainer + UniTask / R3: Eliminated global singletons by managing service lifecycles through DI scopes and propagating
CancellationTokenconsistently across async work. - Assets, Data & Supporting Systems: Added handle-tracked resource disposal, a CSV/Excel MasterData code generator, and shared interfaces for Save Data, Networking, Audio, Localization, and Logging.
Results
TFramework is now used as the foundation for my personal title “Neko Relic,” handling scene transitions, Page/Dialog stack UI management, Addressables asset loading, localization, and CSV-based master-data code generation. Issues surfaced during actual game development—such as DI scope boundaries, EventSystem ownership, and AudioListener placement—continue to be fed back into the framework.