Skip to content

push-pop/Unity-MVVM

Repository files navigation

Unity-MVVM

Simple, Lightweight MVVM Framework for Unity3D

For a background on MVVM checkout the Wikipedia page

The goal of this project is to implement some of the concepts I knew and loved from developing WPF applications, mainly that they be very quick to build, and easy to maintain. It also attempts to solve some of the Unity-specific pain points I've uncovered over the last few years working with Unity.

Add to a project

This project is available on OpenUPM. This is the recomended way to include Unity-MVVM in your project.

openupm

This project now supports Unity's package manager! The easiest way to get Unity-MVVM + Samples and keep it up to date is to add it in the package manager window.

Click the + icon at the top left and select "Add from git url." Then copy+paste the https url from this repo and make sure to add the #upm to get the right branch: https://github.com/push-pop/Unity-MVVM.git#upm

The library will be automatically added to your project, and you can download samples from the package manager to see demonstrated usage.

Documentation

MVVM Architechture

Writing a ViewModel

How to create bindings

Views

Converters

Events

ChangeLog

Contributing

I am open to contributions, requests, PRs etc... however know that this is mostly a personal project for my own use in my production projects, so I can't guarantee I will accept a change.

DM me up on twitter if you want to chat!

Support

I am an independent developer, and most of the development on this project is done in my spare time. If you like using this library, please consider donating:

Donate

If you're interested in collaborating or hiring me for a project, check out my portfolio and reach out!

License

MIT License - do with it what you will, just don't blame me if it doesn't work :)

Copyright (c) 2021 Nate Turley [email protected]