Enemy AI State Machine

Enemies were designed with multiple behaviours: patrolling when unaware, chasing when the player was visible, attacking when in range, and checking their surroundings if the player was lost. These state changes were handled through Unity’s NavMesh system and custom C# scripting, forming the foundation of the game’s stealth mechanics.