Unity UI Framework

Unity UI Framework

Complete solution for MVC/MVVM architecture UI

Unity UI Framework - A set of tools for interface developers, ready to use in your projects and supporting the MVC/MVP/MVVVM patterns. The basic architecture works based on View and Layouts, and interaction is handled by an event system to make your interface logic independent.

No need examples? Download now here!

Tested at Unity 2019.3+


Features:

  • Ready for MVP/MVC/MVVM;

  • Views and Layouts loading from Scene / Resources;

  • UI Controller for Views Management and Navigation;

  • Binding / Unbinging Events;

  • UI Particle System and UI Shaders;

  • Simple Components Like Imaged Button and Web Image;

  • Optimized for every platform;

Dependencies:

Get Started

Unity UI Framework is designed for your application and games using Unity UI (UGUI) and support Unity 2019+.

Installation process:

See Demo Scene to learn how it works (UIFrameworkDemo):

image

How it works?

The UI Framework works according to the View / Navigation / Layouts scheme. And separates entities between them. Each screen or window is a View that is stored in history for navigation. Each View can have its own unlimited number of Layouts. One of the View must be the home View for navigation.

For more info see Usage Examples or see Demo Scene.

Usage

Views Binding:

UIFramework.BindView(Instantiate(homeView), true); // Home Page
UIFramework.BindView(Instantiate(pageView));       // Sub-Page

Navigate to another view:

EventMessenger.Main.Publish(new OnViewNavigated {
    View = typeof(DemoPageView),
    Display = new DisplayOptions { IsAnimated = true, Delay = 0f, Duration = 0.5f, Type = AnimationType.Fade },
    Data = new DemoPageView.Data {
        Title = "Demo Page",
        Content = pageContent
    }
});

More Information at official GitHub.

Join Discord | Buy me a beer