Pop Quiz Answers

Chapter 1 – Getting to Know Your Environment

Pop quiz – dealing with scripts

Q1

Unity and Visual Studio have a symbiotic relationship.

Q2

Unity's Reference Manual.

Q3

None, as it is a reference document not a test.

Q4

When the new file appears in the Project tab with the filename in edit mode, which will make the class name the same as the filename and avoid naming conflicts.

Chapter 2 – Introducing the Building Blocks of Programming

Pop quiz – C# building blocks

Q1 Storing a specific type of data for use elsewhere in a C# file.
Q2 Methods store executable lines of code for fast and efficient reuse.
Q3 By adopting MonoBehavior as its parent class and attaching it to a GameObject.
Q4

Get Learning C# by Developing Games with Unity 2019 - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.