From the course: Cert Prep: Unity Certified Associate Game Developer Animation and Cinematics
Unlock the full course today
Join today to access over 25,200 courses taught by industry experts.
Working with animation events - Unity Tutorial
From the course: Cert Prep: Unity Certified Associate Game Developer Animation and Cinematics
Working with animation events
- In the previous movie, we created an animation track where we have our camera orbiting our food items. In this movie, I want to demonstrate how we can link up our animation track to our code and have code execute in response. In particular, what I want to happen is for the camera to rotate around the food and when that orbit is close to being completed, it's going to show some UI text above the food here. I'm going to start by creating a quick text object that we can display when the animation completes. To do that, I'm going to choose game object, UI. and then simply choose text to create a text object. You'll see that it creates a canvas and an event system. Now the details of creating UI objects are covered in a different course on Unity certification here at LinkedIn learning. So be sure to check out our 2D and UI course for creating UI elements and the details on how to do that. In this section here, I'm going…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.