Book Image

Unity Game Development Scripting

By : Kyle D'Aoust
Book Image

Unity Game Development Scripting

By: Kyle D'Aoust

Overview of this book

Table of Contents (17 chapters)
Unity Game Development Scripting
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 9. Game Settings

In this chapter, we will be going over optimizations for our game. To optimize our game, we'll add an Options menu that will create, save, and load configurations for video and sound. By default, there are some settings given to us by Unity to allow the player to choose what settings they want, but we will allow them to customize their experience.

In this chapter, we'll cover the following topics:

  • Creating video configurations

  • Creating audio configurations

  • Saving and loading custom settings

  • Modifying Unity's native settings

  • Creating an Options GUI

  • Using PlayerPrefs to save settings