Пример #1
0
 void System.IDisposable.Dispose()
 {
     mTextValue.Dispose();
     mTextValue = null;
     mSliderValue.Dispose();
     mSliderValue = null;
 }
Пример #2
0
 public DemoUIView_ViewModel()
 {
     mTextValue   = new BindablePropertyUIElement <string, UnityEngine.UI.Text>();
     mSliderValue = new BindablePropertyUIElement <float, UnityEngine.UI.Slider>();
     mItemValue   = new BindablePropertyUIElement <UIViewTestItemValue, UnityEngine.UI.Text>();
     mListValue   = new BindablePropertyUIElement <List <UIViewTestItemValue>, UnityEngine.UI.ScrollRect>();
 }