-
Book Overview & Buying
-
Table Of Contents
Learning C# by Developing Games with Unity 6 - Eighth Edition
By :
One of the greatest advantages a programmer has when it comes to data is knowing how (and where) to get it. As you saw from the last chapter, it’s entirely possible to create, save, delete, and update data you create yourself; it’s also possible and highly useful to access data that has already been compiled for you by someone else!
In this chapter, we’re going to explore how to get our hands on live weather data from the internet, download it into our projects, and update the light source of our arena accordingly. This process is generally called networking in programming terminology, but since networking in game-related scenarios already describes multiplayer or networked play (a close cousin topic), we’ll refer to our work in this chapter as web requests.
Along the way, we will cover the following topics:
UnityWebRequest objectsyield statements