Previously in Unity 2018, I can use dataWatch of a visual element to monitor some property and update the element, for example, I can watch a string URL property on a scriptableObject and fetch the content of that url and update the result in the element when the URL changes. since dataWatch is removed in the 2019, I wonder what the best way is to achieve the same effect. In the api migration guide, there's only one line that says "The dataWatch property was removed. This feature will not be available anymore. One can use SerializedProperty bindings instead." Any guidance is appreciated.
Hello, This page contains some information about the bindings feature: https://docs.unity3d.com/Manual/UIE-Binding.html In a few words, the overall recipe is: Create ScriptableObject type that holds your text property for example "m_URL" Create a TextField with the binding-path property to "m_URL" Add the TextField to a parent Create a SerializedObject targeting an instance of this object Call parent.Bind(serializedObject) This should set-up a two-way binding between the TextField and the scriptable object property.