Setting up the Sleeping Guard!

addam davis
Sep 29, 2021

Objective: Activating my sleeping guard cutscene!

There is an object that creates a zone around the sleeping guard asset.

Creating a C# script and attach this to the object. This script will be a trigger script so delete everything inside and create an on trigger enter method.

We want to check for if the player collides with this object.

When the player collides with the object we want to activate the grab keycard cutscene. So we need a Game Object variable to hold the cutscene.

Activate the cutscene when the player collides with the object.

When the player gets within range the grab the card cutscene will play and the player can now advance farther in the game.

--

--