Hi
I couldn't see the code that you use to use the dictionary on scripting
-Add key
-Set key
-Get key
etc...
Also, do we add the Dictionary as normal from the editor as we do for events or it works different and you have to create it by scripting?
when you use getDataMap(), the object that returns can be used to add change delete key value pairs.
https://i.imgur.com/H1ZmcqO.png
https://www.geeksforgeeks.org/map-get-javascript/
** and yeah you need to add a dictionary object to be able to reference it and call getDataMap()
The documentation is telling you how to do exactly that, with the returned Map. Click the link for 'Map'.
when you use getDataMap(), the object that returns can be used to add change delete key value pairs. https://i.imgur.com/H1ZmcqO.png https://www.geeksforgeeks.org/map-get-javascript/ ** and yeah you need to add a dictionary object to be able to reference it and call getDataMap()
Awesome Thank you very much piranha305 all your examples have been incredibly helpful )))
Develop games in your browser. Powerful, performant & highly capable.
I see Thanks Ashley
I wasn't sure what to do sorry