Make Them See the Player- Game Dev Series 70

Objective: create usable eyes to guards.

Create the “eyes”

First we will need to create the eye to all the guards. In here we will use a box collider to do the detection.
Add a cube to all of guards, and adjust the box collider to a proper position, then remove all the mesh renderer.

Scripting the eyes

With this script, when the guards detect our Player, it should turn on the game over cutscene that we created. To do that, create a gameobject variable.

A passionate gamer whose goal is to work in video game development.