Simple DataBinding framework for Unity3D
Add any binding component to gameobject and set key. Eg. Add TextBinding to an UI Text gameobject and set key to "test.text"
Before setting value of this text, add this MiniBind field to your code to use it easily:
private MiniBind.MiniBind uiContext
{
get
{
return MiniBind.MBManager.Inst[MBContexts.UI_CONTEXT];
}
}
To set value, call this code:
uiContext.SetValue("test.text", "Hello world!");