Going further

If you are the adventurous sort, try expanding your project to add the following:

  • Put two images on the canvas and adjust their anchor and pivot points. Then see what happens when the resolution of the game window is changed significantly.
  • Place a few buttons in a canvas and experiment with the different transitions to see how they work.

Get Mastering Unity 2D Game Development - 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.