Skip to Content
Introduction to Game Design, Prototyping, and Development
book

Introduction to Game Design, Prototyping, and Development

by Jeremy Gibson Bond
September 2022
Beginner
1296 pages
45h 26m
English
Addison-Wesley Professional
Content preview from Introduction to Game Design, Prototyping, and Development

Chapter 20

Variables and Components

This chapter introduces you to many of the types of variables and components used throughout Unity C# programming. By the end of the chapter, you will understand the most common types of C# variables and some important variable types that are unique to Unity.

This chapter also introduces you to Unity’s GameObjects and components. Any object in a Unity scene is a GameObject, and the components that comprise them enable everything from the positioning of a GameObject to physics simulation, special effects, displaying a 3D model onscreen, and character animation.

Introducing Variables

To recap a bit of Chapter 18, “Introducing Our Language: C#,” a variable is just a name that can be defined to be hold a specific ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Games, Design and Play: A Detailed Approach to Iterative Game Design

Games, Design and Play: A Detailed Approach to Iterative Game Design

Colleen Macklin, John Sharp

Publisher Resources

ISBN: 9780136619918