I am a game developer, but I am new to web development with JSON. However, I am trying to learn how to implements an online high score system by using a JSON file stored on my web host server with a Unity project. So far, I can get user names and their scores from the remote JSON file by using the WWW class in Unity. However, I am not sure what would be the best way to update existing /add new pairs of data to the JSON file. I have been seeking for proper documents/tutorials online for hours, but I didn't find one that works for me. Can anyone please provides some hints and suggestions for doing this from both client side(Unity) and server side? Thanks in advance!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…