Setting up the Sleeping Guard!

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.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store