Dynamic Menu3D options menu
Posted: 07 Apr 2020, 06:18
We've been having trouble creating an options menu in our project with the following criteria.
- Options list is generated from data.
- Options can have different behaviors when interacted with, so we need a way of passing in an "interaction type" to each option, and based on that type it would use a different template & bind functionality to the view model. e.g.
- -A label only option that can either do nothing or respond to a click event.
- -A slider option that responds to specified inputs & has event bound to the view model for processing updates to the slider position.
- -An array of entries that we go through using specified inputs (similar to the OptionSelector in the Menu3D example)
- -An option containing an editable text box, again firing off an event bound to the view model when text is updated.