grofit / bindingsrx

A 2 way binding system for unity using unirx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is a description mistake At "Binding Overview"?

Personuo opened this issue · comments

var myReactiveProperty = new ReactiveProperty("hello");
var myInputField = GetComponent();
myInputField.BindTextTo(myReactiveProperty)
.AddTo(myReactiveProperty);

Is that the last myReactiveProperty fact myInputField?

commented

yep, when I am on the computer next I will look at fixing it, or by all means raise a PR fixing it.

Looking at source code for the BindTextTo stuff it should auto add the input, so you probably dont even need the last bit.