Example #1
0
        // Use this for initialization
        private void Start()
        {
            model = RootModelObject.GetComponent <RootModel>().Hoge;
            view  = ViewObject.GetComponent <HogeUIView>();

            view.Observable()
            .Subscribe(v => model.Value.Value = (int)v);


            model.Value
            .Subscribe(v => view.Value = v);
        }
Example #2
0
 private void Awake()
 {
     Hoge = new HogeModel();
 }