O'Reilly logo

Mastering Unity 2017 Game Development with C# - Second Edition by Alan Thorn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Data serialization

Data is raw material for most games; even relatively simple games require characters to have health, damage points, shields, and so on, in addition to item data, such as sword-strength and sword-fragility. Thus, data is critically important for gameplay to behave as intended. When it comes to working with data, developers typically have two main needs. The first is the need to save or export the state of a game at any time, allowing the player to save their progress and resume it at a later time, even if the device has been powered off between play sessions, and the second is the need to import data, such as weapon stats and character sheets (and the player's saves), from external sources created by designers, such as a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required