- 最后登录
- 2019-12-25
- 注册时间
- 2012-8-24
- 阅读权限
- 90
- 积分
- 71088
 
- 纳金币
- 52344
- 精华
- 343
|
我在人物身上绑定 NavMeshAgent 组件
PathFinder = gameObject.GetComponent<NavMeshAgent>();
之后 在update的时候调用 PathFinder.SetDestination(movePoint);
但是会报错
SetDestination can only be called on an active agent that has been placed on a navmesh
我google了一下 发现别人也有这样的问题 但是似乎没有搜到答案 |
|