Skip to content
This repository has been archived by the owner on Jul 28, 2019. It is now read-only.
/ lizzard Public archive

[ARCHIVED] 🦎 PureMVC based framework for Unity (PureMVC + UI Binding + Stack based Input System)

License

Notifications You must be signed in to change notification settings

skibitsky/lizzard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lizzard

lizzard is an open source framework for Unity Engine. It's mainly based on PureMVC pattern and MVVM-style data binding system Unity Weld. It also contains stack-based input system for desktop and custom for mobile.

It's not easy to begin with PureMVC, but it serve well in the future and make your project as flexible as possible.

Intall

  1. In your Unity project change Scripting Runtime Version in Player setting to .NET 4.x Equivalent
  2. Move lizzard folder to your /Assets
  3. Create project initialization MacroCommand to set up all Mediators, Proxies and other components of your game:
public class MyStartupMacroCommand : MacroCommand
{
    protected override void InitializeMacroCommand()
    {
        base.InitializeMacroCommand();
        AddSubCommand(() => new MyStartupMediatorsCommand());
        AddSubCommand(() => new MyStartupProxiesCommand());
    }
}

You can take one of example projects as a base.

  1. Create Game Launcher script:
public class MyGameLauncher : MonoBehaviour
{
    private void Awake()
    {
        // Set up all custom lizzard components
        Facade.GetInstance.RegisterCommand(Notifications.STARTUP, typeof(MyStartupMacroCommand));

        // Launch lizzard
        Facade.GetInstance.Startup();
    }
}

In progress

  • Documentation
  • Editor tools
  • Unity API save wrappers

About

[ARCHIVED] 🦎 PureMVC based framework for Unity (PureMVC + UI Binding + Stack based Input System)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages