Unity Enemy Shooting Ai & Animation | How to make Enemy Attack Player in Unity 3D Game Course 2022

By WITS Gaming on youtube.com

More about this content:

In this step you'll learn about adding a shooting system to an enemy. The shooting system will use a public float to set the time between shots, a public transform to set the look point, and a public camera to set the shooting raycast area. The raycast will travel a certain distance and when it hits the player, the player's health will decrease.