NVentimiglia / Unity3d-Databinding-Mvvm-Mvc

Unity3d uGUI Observable library for Mvvm / Mvc
http://unity3dfoundation.com
63 stars 16 forks source link

ListBinder Awake runs in edit mode #12

Closed drostar closed 9 years ago

drostar commented 9 years ago

This causes a few issues, especially when using an actual prefab for the list item (warns of data corruption).

I wrapped the contents of the ListBinder.Awake() method with if (Application.isPlaying) { ... } and it seemed to avoid those issues.

NVentimiglia commented 9 years ago

Thanks, I will take a look at this issue tuesday.

NVentimiglia commented 9 years ago

6379908