Test your knowledge

Q1. OnTriggerExit2D is...

  • A. A function that runs on repeat
  • B. A function that runs when an object leaves a trigger
  • C. A function that runs when the player completes the level
  • D. A function that runs when the level exits

Q2. A Canvas Group lets you

  • A. Play UI Animations
  • B. Change the Alpha of multiple UI Objects
  • C. Deletes many objects together
  • D. Adjust objects for different resolutions

Q3. Enumerations are good for...

  • A. Storing lists of values
  • B. Counting objects
  • C. Searching for objects
  • D. Sorting objects by name

Q4. You can pick a random number by using

  • A. Random.Range
  • B. SelectRandomNumber
  • C. ChooseRandom
  • D. GetRandomNumber

Get Unity 2018 By Example - Second 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.