UMVC
MVC Pattern Framework for Unity3d GUI System (UGUI)
Install / Use
/learn @iMemento/UMVCREADME
UMVC
=== MVC Pattern Framework for Unity3d GUI System

Model
- Holds no view data nor view state data.
- Is accessed by the
Controllerand otherModelsonly - Will trigger events to notify external system of changes.
View
- UGUI Prefabs
Presenter
- Each Presenter corresponds to a View
- Holds references to elements needed for drawing
- Receive User Input
- Notify
Controllerwhen an user input - This script is a UI refresh operation function set
Controller
- Controls view flow.
- Holds the application state needed for that view
- Will trigger events to notify external system of changes.
- Handles events either triggered by the player in the
Viewor triggered by theModels - Each Controller corresponds to a Presenter and holds the reference of it's
Presenter - Holds the references of the small
Controllersunder this controller
NotificationCenter
- A notification dispatch mechanism that enables the broadcast of information to registered observers.
- Add observer in
Controllers - Post notifications in
Models
void Start()
{
NotificationCenter.DefaultCenter.AddObserver(this, "UserDataChanged", UserDataChanged);
}
void OnDestroy()
{
NotificationCenter.DefaultCenter.RemoveObserver(this, "UserDataChanged");
}
Create Controller and Presenter from Template
- Click menu
Template ScriptsandCreate - Type class name and namespace
- Then it will create two scripts, one
Controllerand onePresenter
Related Skills
clearshot
Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.
openpencil
2.1kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
openpencil
2.1kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
ui-ux-pro-max-skill
59.8kAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
