ICode9

精准搜索请尝试: 精确搜索
  • NavMeshAgent.SetDestination后不会自动寻路问题2022-06-25 22:04:15

    # 下面的代码是想实现点击鼠标左键,寻路到指定的位置;但是运行后,并不会寻路,而是立即打印了end void Update() { if (Input.GetMouseButtonUp(1)) { _navMeshAgent.enabled = true; _navMeshAgent.SetDestination(_targetPos); } if (_navMeshAge

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有