Is there ANY way you can update your documentation to reflect this type of implementation? I’m trying to figure out how to do this, and it all sounds great in theory, but there are 0 examples out there. The video posted doesn’t express the implementation with databinding without writing 100 lines of code, and seems to over-complicate binding data to elements, it also focuses on the unity editor, which a lot of people don’t care about.
I’m really frustrated with this system as all of your documentation talks about using this with the editor, and then a splash of “Oh yeah you can build your game UI with this too” and that’s it. Its been non-stop trial and error for me, and I’m almost ready to give up and go back to the old clunky UI. At least I can go Label.text = “Text” without having to jump through 20 hoops or figure out your complex system.
I’m sure its not as complicated as in my head, but there’s minimal tutorials out there by other people, and whomever wrote the docs on this didn’t do that great of a job, otherwise people wouldn’t be here asking about what should arguably be the easiest thing to do with any UI. I’m tired of making very little progress on my game because I’m beating my head against a system that on the surface is easy to use, but has so many caveats that its almost not worth it.
It appears that this should be treated like WPF data bindings, but knowing unity its not that easy. And if it is, whomever wrote your documentation is REALLY bad at explaining that. There’s no context in your documentation on data binding - Ex. .bindPath = “m_name” ← what is “m_name” ? I did ctrl-f on the entire page and that did not come up but twice, neither one providing any context as to what that string is supposed to represent or come from, do I randomly put a property name there and hope that the unity gods are able to find it in all my monobehaviors? Sorry to rant, I’m really frustrated at the lack of reasonable documentation on this, and the one video you guys posted I watched in its entirety, and all it did was tell me that to update a UI - Object relation I gotta write 30 lines of code, as opposed to a simple Mylabel.text = “This is easier than writing a handler to watch the object”
Maybe that IS the way to do it, if it is, you’ve overcomplicated something that should be super easy to do. Hell WPF has been out for a decade and its got data binding down. I’m also not sure why you just didn’t go with something like Razor cshtml, Bind a model to the view and allow code blocks within the HTML. Either way, Imma go back to the old unity UI system until you guys fix your bad documentation on it. If you intend people to use this to build game UI’s stop writing documentation only on editor UI’s which, to be completely honest, isn’t as big of a deal… you don’t hear people complain about unity’s editor UI tools, you hear them complain about building game UI’s in it.