Do Anything You Wanna Do

Basic Enemy Behaviour – Unity.Ai Based Using the Unity.Ai package I implemented a common enemy behaviour pattern for  Spawn an enemy Player undetected, go to Spawn point, colour Green Player detected, chase player, colour Yellow Player is in the target range, stop, colour Red Being Unity.Ai based this involves MeshRenderer.material.color NavMeshAgent.SetDestination Physics.Raycast transform.LookAt Debug.DrawLine