Basically, the AI uses colliders and when a player enters a collider the enemy AI Activates and will focus/lock on to the player and then shoot using the bullet script.
Through very careful programming.
Basically, the AI uses colliders and when a player enters a collider the enemy AI Activates and will focus/lock on to the player and then shoot using the bullet script.
Through very careful programming.