Sacred Seed Studio Logo

Interacting with JSON in Unity

Jun 10, 2017 • • Read in 5m

Oftentimes we find ourselves working with JSON data. Whether it’s communicating with a web server or importing and exporting data. Before in Unity the solutions were you had to write your own parser/serializer, or get a third party plugin. Semi-recently the JsonUtility class was introduced in the UnityEngine namespace. It won’t solve all of your problems, but it is a great built in tool. This tutorial builds a simple example to demonstrate handling JSON.

Query Strings (Parameters) with Unity WebGL

Nov 3, 2016 • • Read in 4m

A query string (also called query parameters) is a way to pass data through the URL into a webpage directly. They can be used to perform tasks on a webpage, such as automatically filling out a form, loading a specific asset or updating specific data on the page. Unity is able to interact directly with the web browser (WebGL builds), so a question arises; how can we apply this to our games?