Bind your components to fields decoupling UI from logic.
- Bind UI components to fields
- When updating values the UI will change automatically
- Easily swap out UI
Unity 2018.3 and up
- Open the package manager and point to the rep url
-
Open the manifest
-
Add the repo url either via https or ssh
{ "dependencies": { "com.nexobinder": "https://github.com/carreraSilvio/nexobinder.git" } }
- Clone or download the project zip
- Copy the repo inside your project assets folder
- Create a class that will be your View
- Add the fields that will be exposed
- Add a binder to your UI component
- Chose the field it will be bound to
- Update the actual data
- Notify the View
- See the result on the UI component