![]() |
Lemmings
Remappable Gestures For Unity
|
Base for any UI row that binds a model of type T. Handles subscription lifecycle; subclasses implement UpdateUI. More...
Inherits MonoBehaviour.
Inherited by Lemmings.UI.LemmingUIRemappingMetricOption.
Public Member Functions | |
| virtual void | Bind (T data) |
| Called by your controller to bind this row to new data. | |
Protected Member Functions | |
| virtual void | Subscribe () |
| Hookup any model events here (e.g. OnDatumUpdated). | |
| virtual void | Unsubscribe () |
| Tear down any event handlers here. | |
| void | UpdateUI () |
| Populate your Text/Dropdown/etc. based on _data. | |
Protected Attributes | |
| T | _data |
Private Member Functions | |
| void | OnDestroy () |
Base for any UI row that binds a model of type T. Handles subscription lifecycle; subclasses implement UpdateUI.
|
inlineprotectedvirtual |
Hookup any model events here (e.g. OnDatumUpdated).
Reimplemented in Lemmings.UI.LemmingUIRemappingMetricOption.
|
inlineprotectedvirtual |
Tear down any event handlers here.
Reimplemented in Lemmings.UI.LemmingUIRemappingMetricOption.