コード例 #1
0
        public DataBindingConnection(GameObject owner, BindTarget src, BindTarget dst, IValueConverter converter = null)
        {
            _gameObject = owner;
            _src        = src;
            _dst        = dst;
            _converter  = converter;

            PropertyChangedAction = OnSrcUpdated;

            BindingMonitor.RegisterConnection(this);
        }
コード例 #2
0
        public void Dispose()
        {
            BindingMonitor.UnRegisterConnection(this);

            Dispose(true);
        }