Skip to main content

Command Palette

Search for a command to run...

Unity UI Framework

Complete solution for MVC/MVVM architecture UI

Published
2 min readView as Markdown
Unity UI Framework
E

🤔 My name is Elijah, I've been working in the game development industry for more than 10 years and I love to solve various problems related to my field.

🔭 My main tool as a person working with both mobile and console games is of course Unity.

⚡I also worked with WebGL and used mostly C# or NodeJS as a server language. I would be glad to share my experience - you can always write to me in Discord (SodaBoom).

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

Z
zgd1y ago

We're looking for experienced MMO mobile game developers who have successfully developed multiple large-scale multiplayer online role-playing games (MMORPGs) at renowned gaming companies. This is a remote position offering highly competitive salaries with flexible working hours. Candidates can arrange their own schedules, and we're willing to provide an advance deposit upfront. If you meet these criteria and are interested, please contact us directly.

EMail:q791864008q@gmail.com Discord:q791864008q_gmail_com Telegram:q791864008q_gmail_com

Z
zgd1y ago

We are willing to pay a high price to acquire the source code of a mobile game that is compatible with both Android and iOS platforms, for the purpose of learning and research. The game must meet the following criteria: it should be developed by a top-tier gaming company within the past 5 years, fully completed and matured, and preferably of the multiplayer online MMORPG or ARPG genre. If your game meets our interest, we will proceed with the transaction promptly and offer an upfront payment as a gesture of goodwill. Contact me q791864008q@gmail.com

Z
zgd1y ago

Who has the source code of a mature and large-scale multiplayer online mobile game from a major game company? It is required that there should be mature commercialization and in-app purchases in the game, such as: card drawing, opening boxes, etc. We are in Vietnam and I am willing to pay super high fees to buy. Contact me q791864008q@gmail.com

Open-Source Projects

Part 3 of 6

Large Open-Source projects, libraries and frameworks for beginners and professional developers on Unity. Support our community and contribute!

Up next

Simple Localization system for your Games

Powerful and Simple Localization system for Unity Games with any asset localization