Pathways
LiveEducator Hub
  • Sidebar node image

    tutorial

    Enemies, Part 1: Static Observers
Unity Version: 2020.3
Change
Steps
  • 1 Setting up the Gargoyle Prefab
  • 2 Animate the Gargoyle
  • 3 Add a Collider to the Gargoyle
  • 4 Create a Trigger to Simulate the Gargoyle's Line of Sight
  • 5 Write a Custom Observer Script
  • 6 Add a Class to Detect the Player's Character
  • 7 Check the Enemy's Line of Sight is Clear
  • 8 Revise your GameEnding Script
  • 9 Create Two Ways To End The Level
  • 10 Allow the Player to Restart the Level
  • 11 Complete your Gargoyle Prefab
  • 12 Summary
  • You finished!

Unity Version 2020.3

Other versions available

Don’t have a compatible version?

Install a new version from the Unity Hub

Continue
Language
Social
Learning
  • Pathways
  • Courses
  • Projects
  • Tutorials
  • Educator Hub
Live
  • Live Sessions
  • Previously recorded
Education Plans
  • Students
  • Educators
  • Institutions
  • Certifications
Resources
  • Unity Asset Store
  • Community
  • Documentation
  • Unity FAQ
  • Learn FAQ
Unity
  • Unity.com
  • Newsletter
  • Blog
  • Events
  • Unity Play
Copyright © 2025 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.