Coder Social home page Coder Social logo

jochenheckl / databinding Goto Github PK

View Code? Open in Web Editor NEW
83.0 3.0 9.0 7.78 MB

Data binding for Unity gameobjects. If you like MVVM User Interfaces, this is where to start.

License: Other

C# 100.00%
solid solid-principles mvvm user-interface databinding unity unity3d gui

databinding's Introduction

Unity DataBinding

What is Unity DataBinding?

DataBinding is a method of connecting a data model with user interface components, allowing changes in one to automatically reflect in the other.

This package supplies the means that will enable you to implement declarative user interfaces (== user interfaces that are a function of the underlying data that defines it). It's like WPF for Unity Game Objects.

---
title: High Level Overview
---
graph LR
    DS[DataSource] -->|Property|CPB(Component Property Binding)
    DS -->|IEnumerable<> Property|CB(Container Binding)
    CPB -->|Property|V[View]
    CB -->|populate Children| V
    ET([Element
    Template]) -.->CB
Loading

Tutorials

  • Getting Started (Detailed Step by Step Tutorial - 5 minutes to complete)

    Create a simple scene showing a cube that randomly changes scale and color. This tutorial will make you familiar with fundamental ideas of this tool.


  • How to react to user input (Step by Step Tutorial - 5 minutes to complete)

    Starting from a simple scene that renders some input controls fill in the blanks that makes user input available to your application logic.


  • A look at ContainerBindings (Step by Step Tutorial - 5 minutes to complete)

    Concerning user interface tool sets: When it comes to handling not just static but dynamic content is where the wheat is separated from the chaff. Starting with some basic prefabs you will put together a nice little party panel for your characters in this tutorial.

databinding's People

Contributors

cipequinus avatar jochenheckl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

databinding's Issues

UIDocumentView not available in Unity 2020.

Describe the bug

Compiler error in UIDocumentView.

Library/PackageCache/de.jochenheckl.unity.databinding@213b9ca09b/Runtime/Scripts/UIDocumentView.cs(11,30): error CS0246: The type or namespace name 'UIDocument' could not be found (are you missing a using directive or an assembly reference?)

To Reproduce

Attempt to add package to Unity 2020, any verison.

Expected behavior
No compiler errors.

Installing for source

Hi,
How do we install this library from source, I downloaded the zip from the repository, but have no idea how to proceed, do I need to compile it before including it into the unity project?

2-way bindings deprecated

I saw that the 2-way bindings are in the deprecated folder without any replacement. I definitely like the newer format as it is much simpler to the user. I was curious as to what the plan for 2-way bindings was and if you found a way to generalize the change events that come from Input UI.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.