Hiding Game Objects with Unity’s Timeline

Hide player when the game over cutscene is triggered.

Rusben Guzman
Dec 18, 2021

Objective: Add an activation track to disable the player when the game over cutscene starts.

Currently when the player is caught we activate the game over cutscene but the player is still present in the scene. The idea is to hide the player to only show the elements from the cutscene.

We have to select the cutscene in the hierarchy, go to the timeline window and create a new activation track.

In the activation track we have to assign the player game object and adjust the duration to only activate the player in the last frame.

And that’s it!!! Now the player is not duplicated in the cutscene.

--

--

Rusben Guzman
Rusben Guzman

Written by Rusben Guzman

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

No responses yet