I would like to create a system where a player/ user click on a button to save and download a Json file listing the name and position of game objects in a Unity WebGL scene. I am able to write the Json file with the required content in the editor. But I dont know How can I do it in WebGL. I was reading about .jslb plugins. But couldnt figure out how I can write one for my requirement.
Many thanks in Advance! :)