Posts

Data Binding For Unity: The Package that helps you with the easy way of binding

Image
Overview One-Way MVVM style data binding for unity. Simple data binding system which enables one-way data-binding from observable model data to view model components. You all are aware of the term MVVM, right? If not then don't worry I am here to help you. First The MVVM is called a Model View View Model structural design pattern. It also helps with binding the data. MVVM pattern is most used in developing apps and websites but what about games? I have created a small package that you can use in your project. It helps a lot when your project has more UI screens and also when they are dependent on the API callbacks. Topics Introduction to the MVVM pattern How to import the package Getting Started Usage 1. Introduction to the MVVM pattern Models: It contains data, for example, classes and structs. Views: Show visual elements and controls on the UI, They are mainly subclasses of MainViews. View Models: They provide channels that transform model information into values that can be disp...