Skip to content

AirCoder89/Experiment-Unity-AMVC-Design-Pattern

Repository files navigation

AMVC for Unity UI Projects

This sample project demonstrates the AMVC architecture for Unity UI projects. The project is composed of two scenes:

  1. Loading Scene: Incorporates a flexible loading system based on the Command Design Pattern. The DataBaseManager integrates the Rest Client for Unity plugin with the AMVC architecture.
  2. Main Scene: Demonstrates communication between Controllers (Systems) and Views (Panels) using the API result.

All UI Panels are canvases to prevent mesh regeneration during UI changes. Learn More

The Application Model View Controller (AMVC) manages dependencies by splitting the software into four parts:

  • Single entry point "Application": Manages critical instances and application-related data.
  • Models: Handle data CRUD operations.
  • Views: Represent UI Panels.
  • Controllers: Operate as application systems.

AMVC Structure: Amvc

Access panels and systems from anywhere with GetPanel<T> and GetSystem<T> respectively. Get

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages