RPG Items #4: UI Architecture Overview @Kryzarel
RPG Items #4: UI Architecture Overview  @Kryzarel
Uploaded June 2026 | Updated September 2026, 3 weeks ago
Episode 4 of the RPG Items series! After spending the first three episodes building a robust, high-performance data model, it’s time to shift our focus to the visual side of things.

In this episode, we take a step back from raw coding to look at the overall architecture of the View and Controller layers. I’ll walk you through how the system handles UI events, decouples data from visuals, and stays incredibly flexible using the MVC and Strategy patterns.

πŸ“Š VOTE ON THE NEXT EPISODE'S UI:
I’ve built two different example UIs for this framework - one based on our original series assets and one recreating the sleek UI from Arc Raiders! Head over to the community tab to vote on which one we build first:
πŸ‘‰ youtube.com/post/UgkxHNjR1L25xHzIDyZk6xClbQDaqXwTs2IU

What we cover in this episode:
* The MVC View & Controller: Splitting the logic into clean ItemContainerView and ItemSlotView components.
* The Strategy Pattern in UI: Why pushing UI events from the MonoBehavior View up to a separate Controller script allows us to reuse the exact same visuals with entirely different logic.
* Visual Previews vs. Real Data: Structuring slots to support a visual item stack vs. a real item stack - perfect for action previews and non-bound slots.
* High-Level Drag & Drop Logic: A breakdown of how the SlotController and DragController work together to handle inventory slot movement.
* The Model's Payoff: Seeing how a robust backend keeps our frontend scripts short, readable, and incredibly easy to maintain.

Next episode, we'll implement the crucial Observer Pattern using C# events to dynamically update the UI whenever our model changes. Don't forget to vote on the UI style you want to see!

β–Ί Next Video: youtu.be/EQkKgZMW0is
β—„ Previous Video: youtu.be/_WvAsL7tbrY
β–Ί Series Playlist: youtube.com/playlist?list=PLm7W8dbdflogsSk73wzTDgkHM-vDDjvMT

πŸ’¬ Discord: discord.gg/uV79UmjZ2Z

Timestamps:
00:00 - Topic of the video
00:52 - Vote on the next UI
02:13 - View & Controller Architecture
05:50 - Strategy Pattern in ItemSlotView
07:16 - UI Structure & Observer Pattern
09:49 - SlotController & DragController overview
12:12 - Outro

#unity3d #gamedev #inventorysystem #csharp #rpgitems
RPG Items #4: UI Architecture OverviewCreate Your First WoW Addon: Cast Bar Ticks (Part 1)Fatekeeper - Beating the Minotaur Boss with NO Skill PointsStable Sorting in C#Improvements and Fixes - Items & Inventory in Unity (pt.15)The Hidden Graphics Bug in Oblivion (and How to Fix It)Crafting System Unity #4 - Crafting Window Code (cont.)Character Stats in Unity #3 - Final Adjustments & Asset Store AnnouncementFatekeeper: Theorycrafting & Testing BuildsCharacter Stats - Free Unity AssetDrag n drop - Items & Inventory in Unity (pt.9)I Spent Months Building This Inventory System in Unity (RPG Items)
Kryzarel |

RPG Items #4: UI Architecture Overview

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER