September 8, 2020, 3:35pm
Hi, does anyone have any ideas on how I would go about building a UI from data in Playcanvas.
Specifically I need a dropdown list or tree view with categories and sub categories taken from JSON. I’m sure there is a very long winded way to do this but are there any quick routes?
Someone has created a similar system to add UI -> data bindings for Playcanvas UI elements:
I created a template system for UI elements, where you can set data to UI elements. These scripts makes front-end process easier.
You can simply connect your UI elements to a REST service with zero coding.
Here is a video for tutorial :
Github repository for scripts :
Render variables on text elements
Render images with variables
Hide or show elements with vari…
September 9, 2020, 9:28pm
I didn’t know that template, it’s nice. The task in itself It’s nothing so difficult, in my game the menu in shops change based on language used and some message also change according to quests done. And it’s all get from json files. It just need some time to be setted.