sicecake
2017-12-07 23:48
Assets/Scripts/Enemy/MoveController.cs(7,10): error CS0246: The type or namespace name `NavMeshAgent' could not be found. Are you missing `UnityEngine.AI' using directive? 请问提示这个错误是怎么回事啊?
最上面缺少一行代码:using UnityEngine.AI;
详见:http://blog.csdn.net/bulademian/article/details/72876707
找不到 NavMeshAgent 的命名空间,看下MoveController.cs文件
Unity3D快速入门
145912 学习 · 326 问题
相似问题