Help creating dynamic text components using IDs and parsejson
Hi there,
I am trying to set up a text component and dynamically update instances by assigning a unique ID for each and then using a parsejson function.
So text block 1 has an ID of 1 and displays the text 'Apple', text block 2 has an ID of 2 and displays the text 'banana' etc.
In the Main text component I have the json content added to a variable named 'Data' and I have set up an ID variable which is set to be overridable. Then I have a Detect 'ID' trigger and the parsejson function added to the Text content.
i can change the override in the parent scene - but I can't figure out if it's possible to use that unique ID in the text component to update the ID variable?!
Or is there a better way?!
Any help would be much appreciated