top of page
Peppermint Data Binding

Peppermint Data Binding is a lightweight data binding framework for Unity. It provides a simple and easy way for Unity games to utilize data binding.

Overview
•Clean code
Peppermint data binding is based on property and reflection. The class does not need to inherit from specified class or interface, any object that has properties can be used as a binding source or target. Existing code can support data binding with only minimal changes.

*To detect source changes, the source must implement INotifyPropertyChanged interface, or inherits the Bindable base class.

•Easy to setup
Making the UI support data binding is very easy. You only need to add three types of components: DataContext, DataContextRegister and Binder. Most components have very few parameters to setup.

The built-in binders include binders for all uGUI controls, ImageBinder, AnimatorBinder, CustomBinder, Selector, Setter, Getter, etc. You can easily create your own binder class to support new features.

•Model-View-ViewModel ready
Peppermint data binding was designed to make it easy to build game UI using the MVVM pattern. A clean separation between application logic and the UI will make your game easier to test, maintain, and evolve.

•Performance
Extensively optimized C# code, e.g. type cache, object pool, custom event, fast delegate, etc.

Features
-Support OneWay, TwoWay and OneWayToSource binding modes.
-Support data conversion.
-Support binding to nested properties.
-Support binding to collections.
-Support collection view.
-Support command.
-Built-in binders for uGUI controls.
-Editor tools to make data binding development easier.
-Optimized for performance.
-Support JIT/AOT compilation (iOS, Android, webGL).
-Model-View-ViewModel ready.
-Full source code included.

Editor support
Peppermint data binding includes some useful editor utilities, which can make data binding development more easily.
-Bindable Property Code Builder
Generates code snippet for all bindable properties.
-Implicit Converter Code Builder
Generates implicit operator type list.
-AOT Code Builder
Generate type registration code for AOT compilation.
-Code Check Tool
Verifies all property name strings.
-Data Binding Graph
A viewer which displays data binding components within a transform node.
-SpriteSet Builder
Builds the SpriteSet from specified directory.
-BindingManager Debug
Shows the runtime status of the BindingManager.

Includes 20+ tutorials and examples.

Support E-mail: peppermint-unity@hotmail.com

Unity AssetStore Link: http://u3d.as/QGV

bottom of page