Pop quiz—variables and methods
- What is the proper way to write a variable name in C#?
- How do you make a variable appear in Unity’s Inspector window?
- What are the four access modifiers available in C#?
- When are explicit conversions needed between types?
- What are the minimum requirements for defining a method?
- What is the purpose of the parentheses at the end of the method name?
- What does a return type of
void
mean in a method definition? - How often is the
Update()
method called by Unity?
Don’t forget to check your answers against mine in the Pop Quiz Answers appendix to see how you did!
Join us on discord!
Read this book alongside other users, Unity game development experts and the author himself.
Ask questions, provide solutions to other readers, chat with the author via. Ask Me Anything sessions and much more.
Scan the QR code or visit the link to join the community.