• Stars
    star
    479
  • Rank 88,914 (Top 2 %)
  • Language
    C#
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

MVVM-style data-binding system for Unity.

Unity-Weld

NuGet NuGet Build Status

MVVM-style data-binding system for Unity.

Unity-Weld is a library for Unity 5+ that enables two-way data binding between Unity UI widgets and game/business logic code. This reduces boiler-plate code that would otherwise be necessary for things like updating the UI when a property changes, removes the need for messy links between objects in the scene that can be broken easily, and allows easier unit testing of code by providing a layer of abstraction between the UI and your core logic code.

A series of articles on Unity Weld has been published on What Could Possibly Go Wrong.

Example Unity project can be found here: https://github.com/Real-Serious-Games/Unity-Weld-Examples.

Installation

To install Unity-Weld in a new or existing Unity project:

  • Load Unity-Weld.sln in Visual Studio and build it
  • Copy UnityWeld.dll into your Unity project and place in any directory within Assets
  • Copy UnityWeld_Editor.dll into your Unity project and place it inside an Editor folder within Assets

Alternatively, just copy the UnityWeld/Binding and UnityWeld/Widgets folders into your Assets directory in your Unity project, and copy all the .cs files in UnityWeld_Editor to a folder named Editor inside your Assets directory.

Getting started

Check out the Unity-Weld-Examples repository for some examples of how to use Unity-Weld.

API docmentation is on our wiki.

If you're interested in getting involved feel free to check out the roadmap on Trello, or submit a pull request. Make sure to read our contributing guide first.

More Repositories

1

C-Sharp-Promise

Promises library for C# for management of asynchronous operations.
C#
1,170
star
2

Fluent-State-Machine

Fluent API for creating state machines in C#
C#
273
star
3

Unity-Scene-Query

A library to traverse and query the Unity scene to find particular objects, uses something similar to CSS selectors to identify game objects.
C#
84
star
4

Unity-Weld-Examples

An example Unity project that demonstrates Unity-Weld.
C#
76
star
5

Unity-Android-Plugin-Example

A simple example of an Android specific plugin for Unity3d
C#
75
star
6

Factory

Factory for object creation and dependency injection. Works with normal C# apps or under Unity3d
C#
66
star
7

Unity-Editor-UI

A wrapper around the Unity editor GUI system for constructing editor windows using a fluent API instead of Unity's `OnGUI` functions.
C#
65
star
8

Unity-Dependency-Injection-Example

An example that shows how simple Unity scene-based dependency injection can be.
C#
26
star
9

RSG.UnityApp

Collection or RSG Utilities for Unity3D development.
C#
23
star
10

Unity-Async-and-Promises

Examples of async operations in Unity using promises
C#
19
star
11

Unity-Dependency-Injection

A simple scene-based dependency injection system for Unity.
C#
14
star
12

Unity-Debug-Helper

A collection of tools for visual debugging in Unity3d.
C#
10
star
13

Metrics

A metrics output system for collecting data for analytics.
C#
8
star
14

RSG.Toolkit

Small toolkit of generally useful C# code. Used by Real Serious Games to develop applications on Unity3D.
C#
8
star
15

Unity-Scene-Traversal-Examples

Examples of scene traversal using the Unity game engine.
C#
8
star
16

LogViewer

A web application for viewing log files stored in a MongoDB database. Logs are assumed to be in Serilog format.
JavaScript
7
star
17

task-mule

Yet another task runner.... seriously why use Grunt or Gulp when you can write your own?
JavaScript
5
star
18

activecollab-discord-bot

Discord integration for ActiveCollab
TypeScript
4
star
19

Unity-Scene-Query-Examples

Examples of using the Scene Query library to query the Unity scene
C#
4
star
20

Unity3D-Factory-Example

An example of the RSG Factory in a Unity3D example project.
C#
3
star
21

P4-NodeJS

NodeJS Javascript API for Perforce.
JavaScript
3
star
22

LogServer

A simple server that accepts Serilog logs via HTTP post and adds them to your MongoDB database.
JavaScript
3
star
23

Binding-System

Bind to an object graph and monitor it for changes and events.
C#
3
star
24

Metrics-Server

A server for receeving metrics by HTTP post.
JavaScript
2
star
25

GearVR-HMD-Monitor

C#
1
star
26

RSG-Portal

Updater for sideloaded Android apps
Java
1
star
27

task-mule-cli

Command line runner for task-mule.
JavaScript
1
star
28

confucious

App configuration management. Kind of like nconf, but easier to use, predicable and more flexible.
JavaScript
1
star