ao abrir o mono pelo unity , sempre aparece esse error
Assets/Inimigo.cs(13,24): error CS1061: Type 'UnityEngine.NavMeshAgent' does not contain a definition for 'setDestination' and no extension method 'setDestination' of type 'UnityEngine.NavMeshAgent' could be found (are you missing a using directive or an assembly reference?)
alguém pode me ajudar a resolver?