Week 7 | Session 1 - Optimization and QA - May 4, 2020

Tutorial

·

Beginner

·

+10XP

·

60 mins

·

(27)

Unity Technologies

Week 7 | Session 1 - Optimization and QA - May 4, 2020

In this live session, you will learn about a variety of different techniques to optimize your projects and make them more performant. You may not notice a huge difference in these small prototype projects, but when you’re exporting a larger project, especially one for mobile or web, every bit of performance improvement is critical.

Languages available:

1. Overview

This is the same content covered in Lesson 6.1 in the independent Create with Code Course. It also references some content covered in this tutorial about the Entity Component System.

What you will make:

  • Several of your prototype projects will have improved optimization, serving as examples for you to implement in your personal projects

What you will learn:

  • Recognize and use new variable attributes to keep values private, but still editable in the inspector
  • Use the appropriate Unity Event Functions (e.g. Update vs. FixedUpdate vs. LateUpdate) to make your project run as smoothly as possible
  • Understand the concept of Object Pooling, and appreciate when it can be used to optimize your project
  • Have a basic understanding of what DOTS and ECS are, and be able to recognize when code is implementing ECS vs when it is not

2. Before you Begin

To participate in this session and follow along, you need:

If this is your first Create with Code live learning session, you can catch up by:

  1. Following along with the recordings of our previous live learning sessions
  2. Completing the same lessons in the independent Create with Code Course

*Note - it is not necessary for you to catch up, but it is recommended for an ideal learning experience.

3. Recorded Live Session - 4th May - 9am PST

If you missed this session, you can catch up with the video below.

4. Recorded Live Session - 4th May - 5pm PST

If you missed this session, you can catch up with the video below.

5. Next Steps

Get caught up:

If you were not able to finish the session along with the instructors, you can catch up by:

  1. Re-watching this recorded session when it is posted in Step 3 above at 3am PT (10am UCT) the morning after this session's date
  2. Picking up where you left off in Lesson 6.1 of the independent Create with Code Course

Bonus Challenges:

  • Experiment with new features (after making a backup)
    • Do some QA on your personal project
    • Try to implement object pooling in Prototype 3 or in your personal project
    • Do some more research into Unity's DOTS and ECS to get a better understanding
  • Look ahead to the next lesson
    • If you want to go ahead and preview what we'll be covering in the next session, you can give it a try in Lesson 6.2 of the independent Create with Code Course.

Complete this tutorial