O'Reilly logo

How to Cheat in Unity 5 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

5

Persistence and Accessibility

This chapter considers the distinct but related issues of persistence and accessibility in Unity. Persistence is about how data, like variables and objects, remain over time, not just between scenes, but also across play sessions. That is, across days and weeks, and months, even after the user has quit your game and returned to it much later. It’s about how you can keep objects like save-games in external files. Second, the chapter also considers accessibility. By “accessibility,” I mean the ways you can scope objects in code, making it easier and simpler for separate game objects to communicate and share data efficiently between scenes. The tips and techniques covered here are important if you’re making games ...

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