push-pop / Unity-MVVM

Lightweight MVVM Framework for Unity3D
MIT License
323 stars 27 forks source link

Editor script not saving/serializing properly in DataBindingEditor.cs #49

Closed push-pop closed 3 years ago

push-pop commented 3 years ago

Repro:

  1. Create DataBinding on scene
  2. Select binding source property (NOT first option in dropdown)
  3. Click "open" ViewModel
  4. Source property is reset to first option in dropdown

Maybe only affects scene elements and not prefab elements. Maybe doesn't actually mess up value, just Editor.