Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

MVVM and DataBinding in Unity

$
0
0
Hi folks.

I'm currently setting up a MVVM system by myself, but I'm rather unsure if I'm on the right track, so I post here some code just to hear if you guys could tell me if it's the right direction or what I can do better.

Mostly the DataBinding part is something I think I haven't got into yet so here's what I have till now:

ViewModel class
Code (csharp):
  1.  
  2. public class ViewModel : MonoBehaviour
  3. {
  4.     #region Data
  5.     private DataObj _data;
  6.     internal DataObj Data
  7.     {
  8.         get { return...
MVVM and DataBinding in Unity

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>