Making “Eyes” in Unity(Game Dev Day 61)

The green outline shows the guards’ “vision”
Make sure gravity is OFF.
This script checks for a collision with an object tagged “Player”, then plays the Game Over Cutscene if It does have a collision.
As the guard turns and reveals the Player, the game over cutscene begins!

--

--

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