Chapter 7. Working with External Resource Files and Devices
In this chapter, we will cover:
Loading external resource files – by Unity Default Resources
Loading external resource files – by manually storing files in Unity's Resources folder
Loading external resource files – by downloading files from the Internet
Saving and loading player data – using static properties
Saving and loading player data – using PlayerPrefs
Saving screenshots from the game
Control characters in Unity with the Microsoft Kinect using the Zigfu samples
Animating your own characters with the Microsoft Kinect controller
Homemade mocap by storing movements from the Microsoft Kinect controller
Setting up a leaderboard using PHP/MySQL
Introduction
External data can make your game better in many ways: it might add renewable content, help file organization, and allow user preferences to be set. Also, it can make Unity talk with other peripherals. In every way, it can deliver a richer experience to players and developers alike. There are several different places from which external files can be stored and read from.
In this chapter we present a wide range of uses for external data.