ARTIFICIALLY INTELLIGENT ENEMIES.Create an enemy GameObject with NavMeshAgent and Capsule Collider.Implement a script to control enemy behavior, including patrolling and player detection.Assign waypoints and player GameObject to the enemy character for patrolling and chasing.